Presentation Date : January 2022 | Need help? Contact the team.

1 What is Clean Code?

Clean code is code that is easy to understand and easy to change.

It’s writing code that is:

  • Readable

  • Understandable

  • Maintainable

  • Extendable


2 Why Should we Write Clean Code?

By using clean code and making the code readable you will save time for yourself and others in the future when adding new features, testing, fixing bugs and collaborating.

Code is like humour. When you have to explain it, it’s bad - Cory House


3 How to Write Clean Code?

Writing clean code is about always considering the principles when writing code.


3.1 Use Descriptive Names

Use meaningful names for variables, functions, or whatever it is you’re naming.

Avoid abbreviations that you understand now but which will be unclear to others, or future you.


Exercise

Let’s look at an example, suppose you want to select a variable name for the number of patients, which one would you pick?

# Number of patients - option 1
x = 10

# Number of patients - option 2
no_pat = 10

# Number of patients - option 3
No_Pat = 10

# Number of patients - option 4
Number_Of_Patients = 10

# Number of patients - option 5
number_of_patients = 10

# Number of patients - option 6
number.of.patients = 10

# Number of patients - option 7
numberOfPatients = 10

Show Answer

The general rule is to have all letters in lower case separated by underscores.

This style of naming is also known as snake case.

# Number of patients - option 5
number_of_patients = 10


There are other conventions you can follow as well, as shown in the image below.

Different naming conventions. Artwork by @allison_horst.

Illustration done by Allison Horst

# Number of patients - option 4
Number_Of_Patients = 10

# Number of patients - option 6
number.of.patients = 10


The most important principle of variable naming is consistency. It is fine to use capitalization or not, or use different formats for different types of variables, as long as it is consistent throughout your code, and clearly communicated to the people that you are working with.

You can find more information on PEP 8 – Style Guide for Python Code or The tidyverse style guide – Style Guide for R


3.2 Comments

Code comments give extra information that is not executed when the code is run. They can be added by a preceding hash character (# This is a comment).

Comments are essential to help those working on the code in the future to understand any non-obvious details around how and why the code has been written in a particular way.


Exercise

Let’s look at the comments below, any thoughts on how useful they are?

# Set number_1 to 5
number_1 = 5

# Set number_2 to 9
number_2 = 9

# Set total to the sum of number_1 and number_2
total = number_1 + number_2

Show Answer

Comments that describe exactly what is occurring in the code, as above, are often not necessary.

They may be redundant, if good naming practices are followed to self-document the steps that occur in your code.

# Set number_1 to 5
number_1 = 5

# Set number_2 to 9
number_2 = 9

# Set total to the sum of number_1 and number_2
total = number_1 + number_2


Avoid “noise” comments that tell you what you already know from just looking at the code.


Comments can be used more effectively to explain why you might have written code in a certain way.

For example, you might explain to other analysts and developers why a section of your code doesn’t follow standard practices, perhaps because the typical method didn’t work.

This type of comment can help to clarify your decision-making process, without needing to describe the individual steps taken.

# Tried solution X, but Y worked better because of Z

# Don't use function X here, because of Y

# Temporary work around for bug in function X
# TODO: fix function X, so that Y

# This section of code is commented out because of X


Comments are sometimes used to divide long sections of code into sub-sections that relate to their overall functionality.

That said, the merit of doing so will depend on the value added.

For example, the code below is already self-documenting and therefore adding the section headings does not add much value.

# Import Libraries
import pandas as pd
import seaborn as sns
import matplotlib.pyplot as plt


# Get data
penguins = sns.load_dataset("penguins")

# Analyse
species_means = penguins.groupby("species").mean()

# Report
plt.plot(penguins.bill_length_mm)
species_means.to_csv("penguin_species_mean_measurements.csv")

In summary, you should use comments sparingly but purposefully. Make sure to:

  • explain why certain things are done, in order to provide context around the decisions that you have made.

  • not use commenting to echo what your code is already telling the reader.

  • and as with any other documentation, make sure comments are accurate and still relevant after code changes.


3.3 Do not repeat yourself (DRY)

Don’t repeat yourself aka DRY promotes that the code we create should be unique, avoiding or reducing duplicated code. Having the same code in multiple places makes maintainability harder, if we make any changes to the code it needs to be updated in different places instead of just one. Duplicated code also adds complexity and makes the code excessively long. A general golden rule is that when we find ourselves creating duplicated code, that’s a good usage for a function.


3.3.1 Strategies for Writing DRY Code

  • Write functions for a task that is performed over and over.

  • Create loops that iterate over repetitive tasks.

  • Use conditional statements to control if and when code is executed.

Lets look at an example.

Suppose we have the data below, lets say we want to find out how many unique years there are and then split the dataset into individual smaller datasets based on the year. E.g 1952 would only have data for that year.

import pandas as pd

gapminder_dataset = pd.read_csv("gapminder.csv")

gapminder_dataset
country continent year lifeExp pop gdpPercap infant_mortality fertility
Afghanistan Asia 1952 28.80100 8425333 779.4453 NA NA
Afghanistan Asia 1957 30.33200 9240934 820.8530 NA NA
Afghanistan Asia 1962 31.99700 10267083 853.1007 NA NA
Afghanistan Asia 1967 34.02000 11537966 836.1971 NA NA
Afghanistan Asia 1972 36.08800 13079460 739.9811 NA NA
Afghanistan Asia 1977 38.43800 14880372 786.1134 NA NA
Afghanistan Asia 1982 39.85400 12881816 978.0114 NA NA
Afghanistan Asia 1987 40.82200 13867957 852.3959 NA NA
Afghanistan Asia 1992 41.67400 16317921 649.3414 NA NA
Afghanistan Asia 1997 41.76300 22227415 635.3414 NA NA
Afghanistan Asia 2002 42.12900 25268405 726.7341 NA NA
Afghanistan Asia 2007 43.82800 31889923 974.5803 NA NA
Albania Europe 1952 55.23000 1282697 1601.0561 NA NA
Albania Europe 1957 59.28000 1476505 1942.2842 NA NA
Albania Europe 1962 64.82000 1728137 2312.8890 106.50 5.96
Albania Europe 1967 66.22000 1984060 2760.1969 86.80 5.38
Albania Europe 1972 67.69000 2263554 3313.4222 71.00 4.81
Albania Europe 1977 68.93000 2509048 3533.0039 58.60 4.09
Albania Europe 1982 70.42000 2780097 3630.8807 56.10 3.46
Albania Europe 1987 72.00000 3075321 3738.9327 40.80 3.13
Albania Europe 1992 71.58100 3326498 2497.4379 32.50 2.87
Albania Europe 1997 72.95000 3428038 3193.0546 26.80 2.61
Albania Europe 2002 75.65100 3508512 4604.2117 21.00 2.20
Albania Europe 2007 76.42300 3600523 5937.0295 16.70 1.80
Algeria Africa 1952 43.07700 9279525 2449.0082 NA NA
Algeria Africa 1957 45.68500 10270856 3013.9760 NA NA
Algeria Africa 1962 48.30300 11000948 2550.8169 148.20 7.65
Algeria Africa 1967 51.40700 12760499 3246.9918 149.20 7.66
Algeria Africa 1972 54.51800 14760787 4182.6638 140.60 7.59
Algeria Africa 1977 58.01400 17152804 4910.4168 119.00 7.24
Algeria Africa 1982 61.36800 20033753 5745.1602 84.60 6.58
Algeria Africa 1987 65.79900 23254956 5681.3585 46.30 5.51
Algeria Africa 1992 67.74400 26298373 5023.2166 38.10 4.24
Algeria Africa 1997 69.15200 29072015 4797.2951 35.10 2.99
Algeria Africa 2002 70.99400 31287142 5288.0404 32.40 2.41
Algeria Africa 2007 72.30100 33333216 6223.3675 26.40 2.66
Angola Africa 1952 30.01500 4232095 3520.6103 NA NA
Angola Africa 1957 31.99900 4561361 3827.9405 NA NA
Angola Africa 1962 34.00000 4826015 4269.2767 NA 7.39
Angola Africa 1967 35.98500 5247469 5522.7764 NA 7.40
Angola Africa 1972 37.92800 5894858 5473.2880 NA 7.23
Angola Africa 1977 39.48300 6162675 3008.6474 NA 7.19
Angola Africa 1982 39.94200 7016384 2756.9537 136.80 7.20
Angola Africa 1987 39.90600 7874230 2430.2083 134.10 7.20
Angola Africa 1992 40.64700 8735988 2627.8457 133.50 7.12
Angola Africa 1997 40.96300 9875024 2277.1409 131.50 6.95
Angola Africa 2002 41.00300 10866106 2773.2873 125.50 6.78
Angola Africa 2007 42.73100 12420476 4797.2313 117.10 6.52
Argentina Americas 1952 62.48500 17876956 5911.3151 NA NA
Argentina Americas 1957 64.39900 19610538 6856.8562 NA NA
Argentina Americas 1962 65.14200 21283783 7133.1660 59.59 3.09
Argentina Americas 1967 65.63400 22934225 8052.9530 58.73 3.05
Argentina Americas 1972 67.06500 24779799 9443.0385 58.00 3.15
Argentina Americas 1977 68.48100 26983828 10079.0267 47.20 3.39
Argentina Americas 1982 69.94200 29341374 8997.8974 32.80 3.21
Argentina Americas 1987 70.77400 31620918 9139.6714 27.10 3.06
Argentina Americas 1992 71.86800 33958947 9308.4187 22.80 2.92
Argentina Americas 1997 73.27500 36203463 10967.2820 19.60 2.66
Argentina Americas 2002 74.34000 38331121 8797.6407 17.10 2.38
Argentina Americas 2007 75.32000 40301927 12779.3796 14.10 2.25
Australia Oceania 1952 69.12000 8691212 10039.5956 NA NA
Australia Oceania 1957 70.33000 9712569 10949.6496 NA NA
Australia Oceania 1962 70.93000 10794968 12217.2269 19.50 3.43
Australia Oceania 1967 71.10000 11872264 14526.1246 18.30 2.85
Australia Oceania 1972 71.93000 13177000 16788.6295 16.80 2.74
Australia Oceania 1977 73.49000 14074100 18334.1975 12.70 2.01
Australia Oceania 1982 74.74000 15184200 19477.0093 10.10 1.93
Australia Oceania 1987 76.32000 16257249 21888.8890 8.70 1.85
Australia Oceania 1992 77.56000 17481977 23424.7668 6.70 1.89
Australia Oceania 1997 78.83000 18565243 26997.9366 5.40 1.78
Australia Oceania 2002 80.37000 19546792 30687.7547 5.00 1.76
Australia Oceania 2007 81.23500 20434176 34435.3674 4.50 1.92
Austria Europe 1952 66.80000 6927772 6137.0765 NA NA
Austria Europe 1957 67.48000 6965860 8842.5980 NA NA
Austria Europe 1962 69.54000 7129864 10750.7211 32.90 2.80
Austria Europe 1967 70.14000 7376998 12834.6024 26.40 2.62
Austria Europe 1972 70.63000 7544201 16661.6256 24.10 2.09
Austria Europe 1977 72.17000 7568430 19749.4223 16.60 1.63
Austria Europe 1982 73.18000 7574613 21597.0836 12.60 1.66
Austria Europe 1987 74.94000 7578903 23687.8261 9.40 1.43
Austria Europe 1992 76.04000 7914969 27042.0187 7.10 1.51
Austria Europe 1997 77.51000 8069876 29095.9207 5.00 1.39
Austria Europe 2002 78.98000 8148312 32417.6077 4.40 1.39
Austria Europe 2007 79.82900 8199783 36126.4927 3.80 1.38
Bahrain Asia 1952 50.93900 120447 9867.0848 NA NA
Bahrain Asia 1957 53.83200 138655 11635.7995 NA NA
Bahrain Asia 1962 56.92300 171863 12753.2751 114.10 7.17
Bahrain Asia 1967 59.92300 202182 14804.6727 74.50 7.00
Bahrain Asia 1972 63.30000 230800 18268.6584 48.10 6.09
Bahrain Asia 1977 65.59300 297410 19340.1020 32.60 5.28
Bahrain Asia 1982 69.05200 377967 19211.1473 24.00 4.69
Bahrain Asia 1987 70.75000 454612 18524.0241 20.10 4.13
Bahrain Asia 1992 72.60100 529491 19035.5792 18.70 3.47
Bahrain Asia 1997 73.92500 598561 20292.0168 13.10 2.93
Bahrain Asia 2002 74.79500 656397 23403.5593 10.20 2.67
Bahrain Asia 2007 75.63500 708573 29796.0483 8.50 2.29
Bangladesh Asia 1952 37.48400 46886859 684.2442 NA NA
Bangladesh Asia 1957 39.34800 51365468 661.6375 NA NA
Bangladesh Asia 1962 41.21600 56839289 686.3416 167.60 6.79
Bangladesh Asia 1967 43.45300 62821884 721.1861 153.00 6.92
Bangladesh Asia 1972 45.25200 70759295 630.2336 148.20 6.93
Bangladesh Asia 1977 46.92300 80428306 659.8772 141.40 6.68
Bangladesh Asia 1982 50.00900 93074406 676.9819 127.80 6.06
Bangladesh Asia 1987 52.81900 103764241 751.9794 110.80 5.13
Bangladesh Asia 1992 56.01800 113704579 837.8102 92.10 4.20
Bangladesh Asia 1997 59.41200 123315288 972.7700 74.00 3.47
Bangladesh Asia 2002 62.01300 135656790 1136.3904 58.60 2.91
Bangladesh Asia 2007 64.06200 150448339 1391.2538 45.90 2.44
Belgium Europe 1952 68.00000 8730405 8343.1051 NA NA
Belgium Europe 1957 69.24000 8989111 9714.9606 NA NA
Belgium Europe 1962 70.25000 9218400 10991.2068 27.00 2.63
Belgium Europe 1967 70.94000 9556500 13149.0412 22.50 2.43
Belgium Europe 1972 71.44000 9709100 16672.1436 18.70 2.05
Belgium Europe 1977 72.80000 9821800 19117.9745 14.10 1.73
Belgium Europe 1982 73.93000 9856303 20979.8459 11.20 1.59
Belgium Europe 1987 75.35000 9870200 22525.5631 9.20 1.56
Belgium Europe 1992 76.46000 10045622 25575.5707 7.60 1.60
Belgium Europe 1997 77.53000 10199787 27561.1966 5.50 1.61
Belgium Europe 2002 78.32000 10311970 30485.8838 4.40 1.68
Belgium Europe 2007 79.44100 10392226 33692.6051 3.90 1.80
Benin Africa 1952 38.22300 1738315 1062.7522 NA NA
Benin Africa 1957 40.35800 1925173 959.6011 NA NA
Benin Africa 1962 42.61800 2151895 949.4991 180.60 6.39
Benin Africa 1967 44.88500 2427334 1035.8314 164.00 6.63
Benin Africa 1972 47.01400 2761407 1085.7969 152.50 6.82
Benin Africa 1977 49.19000 3168267 1029.1613 136.70 6.98
Benin Africa 1982 50.90400 3641603 1277.8976 124.70 7.02
Benin Africa 1987 52.33700 4243788 1225.8560 114.80 6.90
Benin Africa 1992 53.91900 4981671 1191.2077 103.20 6.60
Benin Africa 1997 54.77700 6066080 1232.9753 94.20 6.21
Benin Africa 2002 54.40600 7026113 1372.8779 85.20 5.82
Benin Africa 2007 56.72800 8078314 1441.2849 75.20 5.37
Bolivia Americas 1952 40.41400 2883315 2677.3263 NA NA
Bolivia Americas 1957 41.89000 3211738 2127.6863 NA NA
Bolivia Americas 1962 43.42800 3593918 2180.9725 167.70 6.65
Bolivia Americas 1967 45.03200 4040665 2586.8861 153.60 6.59
Bolivia Americas 1972 46.71400 4565872 2980.3313 138.00 6.50
Bolivia Americas 1977 50.02300 5079716 3548.0978 121.30 5.90
Bolivia Americas 1982 53.85900 5642224 3156.5105 107.20 5.34
Bolivia Americas 1987 57.25100 6156369 2753.6915 94.00 5.03
Bolivia Americas 1992 59.95700 6893451 2961.6997 80.20 4.81
Bolivia Americas 1997 62.05000 7693188 3326.1432 66.80 4.39
Bolivia Americas 2002 63.88300 8445134 3413.2627 53.70 3.98
Bolivia Americas 2007 65.55400 9119152 3822.1371 42.20 3.55
Bosnia and Herzegovina Europe 1952 53.82000 2791000 973.5332 NA NA
Bosnia and Herzegovina Europe 1957 58.45000 3076000 1353.9892 NA NA
Bosnia and Herzegovina Europe 1962 61.93000 3349000 1709.6837 NA 3.85
Bosnia and Herzegovina Europe 1967 64.79000 3585000 2172.3524 NA 3.24
Bosnia and Herzegovina Europe 1972 67.45000 3819000 2860.1698 NA 2.68
Bosnia and Herzegovina Europe 1977 69.86000 4086000 3528.4813 NA 2.27
Bosnia and Herzegovina Europe 1982 70.69000 4172693 4126.6132 27.20 2.02
Bosnia and Herzegovina Europe 1987 71.14000 4338977 4314.1148 20.40 1.89
Bosnia and Herzegovina Europe 1992 72.17800 4256013 2546.7814 14.70 1.59
Bosnia and Herzegovina Europe 1997 73.24400 3607000 4766.3559 10.10 1.50
Bosnia and Herzegovina Europe 2002 74.09000 4165416 6018.9752 7.20 1.28
Bosnia and Herzegovina Europe 2007 74.85200 4552198 7446.2988 7.10 1.21
Botswana Africa 1952 47.62200 442308 851.2411 NA NA
Botswana Africa 1957 49.61800 474639 918.2325 NA NA
Botswana Africa 1962 51.52000 512764 983.6540 109.00 6.65
Botswana Africa 1967 53.29800 553541 1214.7093 94.10 6.70
Botswana Africa 1972 56.02400 619351 2263.6111 79.10 6.58
Botswana Africa 1977 59.31900 781472 3214.8578 63.20 6.40
Botswana Africa 1982 61.48400 970347 4551.1421 50.00 6.01
Botswana Africa 1987 63.62200 1151184 6205.8839 42.00 5.21
Botswana Africa 1992 62.74500 1342614 7954.1116 44.20 4.39
Botswana Africa 1997 52.55600 1536536 8647.1423 51.30 3.75
Botswana Africa 2002 46.63400 1630347 11003.6051 50.30 3.23
Botswana Africa 2007 50.72800 1639131 12569.8518 45.50 2.91
Brazil Americas 1952 50.91700 56602560 2108.9444 NA NA
Brazil Americas 1957 53.28500 65551171 2487.3660 NA NA
Brazil Americas 1962 55.66500 76039390 3336.5858 122.90 6.14
Brazil Americas 1967 57.63200 88049823 3429.8644 109.80 5.49
Brazil Americas 1972 59.50400 100840058 4985.7115 97.40 4.78
Brazil Americas 1977 61.48900 114313951 6660.1187 84.70 4.34
Brazil Americas 1982 63.33600 128962939 7030.8359 69.70 3.85
Brazil Americas 1987 65.20500 142938076 7807.0958 56.80 3.17
Brazil Americas 1992 67.05700 155975974 6950.2830 46.80 2.64
Brazil Americas 1997 69.38800 168546719 7957.9808 34.80 2.45
Brazil Americas 2002 71.00600 179914212 8131.2128 24.30 2.26
Brazil Americas 2007 72.39000 190010647 9065.8008 17.10 1.94
Bulgaria Europe 1952 59.60000 7274900 2444.2866 NA NA
Bulgaria Europe 1957 66.61000 7651254 3008.6707 NA NA
Bulgaria Europe 1962 69.51000 8012946 4254.3378 NA 2.21
Bulgaria Europe 1967 70.42000 8310226 5577.0028 38.40 2.14
Bulgaria Europe 1972 70.90000 8576200 6597.4944 31.60 2.16
Bulgaria Europe 1977 70.81000 8797022 7612.2404 28.10 2.18
Bulgaria Europe 1982 71.08000 8892098 8224.1916 22.50 2.06
Bulgaria Europe 1987 71.34000 8971958 8239.8548 18.20 1.94
Bulgaria Europe 1992 71.19000 8658506 6302.6234 19.10 1.60
Bulgaria Europe 1997 70.32000 8066057 5970.3888 19.40 1.23
Bulgaria Europe 2002 72.14000 7661799 7696.7777 16.30 1.22
Bulgaria Europe 2007 73.00500 7322858 10680.7928 12.30 1.40
Burkina Faso Africa 1952 31.97500 4469979 543.2552 NA NA
Burkina Faso Africa 1957 34.90600 4713416 617.1835 NA NA
Burkina Faso Africa 1962 37.81400 4919632 722.5120 157.50 6.34
Burkina Faso Africa 1967 40.69700 5127935 794.8266 150.90 6.53
Burkina Faso Africa 1972 43.59100 5433886 854.7360 147.10 6.70
Burkina Faso Africa 1977 46.13700 5889574 743.3870 127.40 6.98
Burkina Faso Africa 1982 48.12200 6634596 807.1986 113.90 7.17
Burkina Faso Africa 1987 49.55700 7586551 912.0631 105.30 7.09
Burkina Faso Africa 1992 50.26000 8878303 931.7528 102.40 6.95
Burkina Faso Africa 1997 50.32400 10352843 946.2950 99.40 6.75
Burkina Faso Africa 2002 50.65000 12251209 1037.6452 93.40 6.47
Burkina Faso Africa 2007 52.29500 14326203 1217.0330 79.20 6.12
Burundi Africa 1952 39.03100 2445618 339.2965 NA NA
Burundi Africa 1957 40.53300 2667518 379.5646 NA NA
Burundi Africa 1962 42.04500 2961915 355.2032 144.60 7.05
Burundi Africa 1967 43.54800 3330989 412.9775 145.30 7.25
Burundi Africa 1972 44.05700 3529983 464.0995 146.20 7.35
Burundi Africa 1977 45.91000 3834415 556.1033 143.00 7.45
Burundi Africa 1982 47.47100 4580410 559.6032 120.30 7.45
Burundi Africa 1987 48.21100 5126023 621.8188 103.30 7.57
Burundi Africa 1992 44.73600 5809236 631.6999 104.80 7.47
Burundi Africa 1997 45.32600 6121610 463.1151 100.00 7.22
Burundi Africa 2002 47.36000 7021078 446.4035 88.60 6.94
Burundi Africa 2007 49.58000 8390505 430.0707 72.70 6.57
Cambodia Asia 1952 39.41700 4693836 368.4693 NA NA
Cambodia Asia 1957 41.36600 5322536 434.0383 NA NA
Cambodia Asia 1962 43.41500 6083619 496.9136 NA 6.96
Cambodia Asia 1967 45.41500 6960067 523.4323 NA 6.75
Cambodia Asia 1972 40.31700 7450606 421.6240 NA 6.17
Cambodia Asia 1977 31.22000 6978607 524.9722 155.40 5.44
Cambodia Asia 1982 50.95700 7272485 624.4755 98.10 6.01
Cambodia Asia 1987 53.91400 8371791 683.8956 86.00 6.07
Cambodia Asia 1992 55.80300 10150094 682.3032 85.70 5.24
Cambodia Asia 1997 56.53400 11782962 734.2852 88.20 4.24
Cambodia Asia 2002 56.75200 12926707 896.2260 68.30 3.50
Cambodia Asia 2007 59.72300 14131858 1713.7787 46.50 3.10
Cameroon Africa 1952 38.52300 5009067 1172.6677 NA NA
Cameroon Africa 1957 40.42800 5359923 1313.0481 NA NA
Cameroon Africa 1962 42.64300 5793633 1399.6074 160.50 5.77
Cameroon Africa 1967 44.79900 6335506 1508.4531 143.10 6.06
Cameroon Africa 1972 47.04900 7021028 1684.1465 118.20 6.29
Cameroon Africa 1977 49.35500 7959865 1783.4329 113.90 6.47
Cameroon Africa 1982 52.96100 9250831 2367.9833 103.10 6.68
Cameroon Africa 1987 54.98500 10780667 2602.6642 87.20 6.63
Cameroon Africa 1992 54.31400 12467171 1793.1633 88.20 6.26
Cameroon Africa 1997 52.19900 14195809 1694.3375 94.70 5.82
Cameroon Africa 2002 49.85600 15929988 1934.0114 86.20 5.52
Cameroon Africa 2007 50.43000 17696293 2042.0952 73.10 5.24
Canada Americas 1952 68.75000 14785584 11367.1611 NA NA
Canada Americas 1957 69.96000 17010154 12489.9501 NA NA
Canada Americas 1962 71.30000 18985849 13462.4855 26.00 3.77
Canada Americas 1967 72.13000 20819767 16076.5880 21.20 2.60
Canada Americas 1972 72.88000 22284500 18970.5709 16.70 1.97
Canada Americas 1977 74.21000 23796400 22090.8831 12.50 1.75
Canada Americas 1982 75.76000 25201900 22898.7921 9.20 1.64
Canada Americas 1987 76.86000 26549700 26626.5150 7.50 1.58
Canada Americas 1992 77.95000 28523502 26342.8843 6.40 1.71
Canada Americas 1997 78.61000 30305843 28954.9259 5.40 1.57
Canada Americas 2002 79.77000 31902268 33328.9651 5.30 1.51
Canada Americas 2007 80.65300 33390141 36319.2350 5.10 1.66
Central African Republic Africa 1952 35.46300 1291695 1071.3107 NA NA
Central African Republic Africa 1957 37.46400 1392284 1190.8443 NA NA
Central African Republic Africa 1962 39.47500 1523478 1193.0688 160.40 5.89
Central African Republic Africa 1967 41.47800 1733638 1136.0566 145.60 5.95
Central African Republic Africa 1972 43.45700 1927260 1070.0133 132.10 5.95
Central African Republic Africa 1977 46.77500 2167533 1109.3743 122.60 5.95
Central African Republic Africa 1982 48.29500 2476971 956.7530 116.70 5.96
Central African Republic Africa 1987 50.48500 2840009 844.8764 115.50 5.90
Central African Republic Africa 1992 49.39600 3265124 747.9055 115.10 5.69
Central African Republic Africa 1997 46.06600 3696513 740.5063 115.10 5.55
Central African Republic Africa 2002 43.30800 4048013 738.6906 112.10 5.33
Central African Republic Africa 2007 44.74100 4369038 706.0165 106.90 4.90
Chad Africa 1952 38.09200 2682462 1178.6659 NA NA
Chad Africa 1957 39.88100 2894855 1308.4956 NA NA
Chad Africa 1962 41.71600 3150417 1389.8176 NA 6.29
Chad Africa 1967 43.60100 3495967 1196.8106 NA 6.39
Chad Africa 1972 45.56900 3899068 1104.1040 131.80 6.64
Chad Africa 1977 47.38300 4388260 1133.9850 128.80 6.86
Chad Africa 1982 49.51700 4875118 797.9081 124.80 7.02
Chad Africa 1987 51.05100 5498955 952.3861 119.30 7.20
Chad Africa 1992 51.72400 6429417 1058.0643 113.70 7.38
Chad Africa 1997 51.57300 7562011 1004.9614 109.10 7.42
Chad Africa 2002 50.52500 8835739 1156.1819 103.40 7.27
Chad Africa 2007 50.65100 10238807 1704.0637 98.10 6.90
Chile Americas 1952 54.74500 6377619 3939.9788 NA NA
Chile Americas 1957 56.07400 7048426 4315.6227 NA NA
Chile Americas 1962 57.92400 7961258 4519.0943 116.70 5.46
Chile Americas 1967 60.52300 8858908 5106.6543 79.00 4.59
Chile Americas 1972 63.44100 9717524 5494.0244 65.70 3.68
Chile Americas 1977 67.05200 10599793 4756.7638 41.70 2.89
Chile Americas 1982 70.56500 11487112 5095.6657 22.90 2.65
Chile Americas 1987 72.49200 12463354 5547.0638 18.40 2.65
Chile Americas 1992 74.12600 13572994 7596.1260 13.70 2.56
Chile Americas 1997 75.81600 14599929 10118.0532 10.20 2.25
Chile Americas 2002 77.86000 15497046 10778.7838 8.30 2.01
Chile Americas 2007 78.55300 16284741 13171.6388 7.60 1.90
China Asia 1952 44.00000 556263527 400.4486 NA NA
China Asia 1957 50.54896 637408000 575.9870 NA NA
China Asia 1962 44.50136 665770000 487.6740 110.00 5.97
China Asia 1967 58.38112 754550000 612.7057 NA 5.25
China Asia 1972 63.11888 862030000 676.9001 73.30 4.92
China Asia 1977 63.96736 943455000 741.2375 55.80 2.87
China Asia 1982 65.52500 1000281000 962.4214 44.60 2.62
China Asia 1987 67.27400 1084035000 1378.9040 42.00 2.68
China Asia 1992 68.69000 1164970000 1655.7842 41.20 2.11
China Asia 1997 70.42600 1230075000 2289.2341 35.00 1.52
China Asia 2002 72.02800 1280400000 3119.2809 26.20 1.47
China Asia 2007 72.96100 1318683096 4959.1149 17.20 1.53
Colombia Americas 1952 50.64300 12350771 2144.1151 NA NA
Colombia Americas 1957 55.11800 14485993 2323.8056 NA NA
Colombia Americas 1962 57.86300 17009885 2492.3511 85.90 6.78
Colombia Americas 1967 59.96300 19764027 2678.7298 77.10 6.25
Colombia Americas 1972 61.62300 22542890 3264.6600 65.90 5.15
Colombia Americas 1977 63.83700 25094412 3815.8079 52.80 4.37
Colombia Americas 1982 66.65300 27764644 4397.5757 39.70 3.74
Colombia Americas 1987 67.76800 30964245 4903.2191 31.50 3.28
Colombia Americas 1992 68.42100 34202721 5444.6486 27.40 3.01
Colombia Americas 1997 70.31300 37657830 6117.3617 23.40 2.78
Colombia Americas 2002 71.68200 41008227 5755.2600 20.00 2.57
Colombia Americas 2007 72.88900 44227550 7006.5804 17.30 2.45
Comoros Africa 1952 40.71500 153936 1102.9909 NA NA
Comoros Africa 1957 42.46000 170928 1211.1485 NA NA
Comoros Africa 1962 44.46700 191689 1406.6483 NA 6.90
Comoros Africa 1967 46.47200 217378 1876.0296 NA 7.04
Comoros Africa 1972 48.94400 250027 1937.5777 145.10 7.06
Comoros Africa 1977 50.93900 304739 1172.6030 129.60 7.08
Comoros Africa 1982 52.93300 348643 1267.1001 111.90 7.03
Comoros Africa 1987 54.92600 395114 1315.9808 95.80 6.14
Comoros Africa 1992 57.93900 454429 1246.9074 82.90 5.36
Comoros Africa 1997 60.66000 527982 1173.6182 74.50 5.27
Comoros Africa 2002 62.97400 614382 1075.8116 72.50 5.30
Comoros Africa 2007 65.15200 710960 986.1479 67.90 5.11
Congo, Dem. Rep.  Africa 1952 39.14300 14100005 780.5423 NA NA
Congo, Dem. Rep.  Africa 1957 40.65200 15577932 905.8602 NA NA
Congo, Dem. Rep.  Africa 1962 42.12200 17486434 896.3146 NA 6.03
Congo, Dem. Rep.  Africa 1967 44.05600 19941073 861.5932 NA 6.14
Congo, Dem. Rep.  Africa 1972 45.98900 23007669 904.8961 145.90 6.27
Congo, Dem. Rep.  Africa 1977 47.80400 26480870 795.7573 137.10 6.44
Congo, Dem. Rep.  Africa 1982 47.78400 30646495 673.7478 129.00 6.69
Congo, Dem. Rep.  Africa 1987 47.41200 35481645 672.7748 122.90 6.96
Congo, Dem. Rep.  Africa 1992 45.54800 41672143 457.7192 117.70 7.22
Congo, Dem. Rep.  Africa 1997 42.58700 47798986 312.1884 112.50 7.23
Congo, Dem. Rep.  Africa 2002 44.96600 55379852 241.1659 103.10 6.96
Congo, Dem. Rep.  Africa 2007 46.46200 64606759 277.5519 91.50 6.55
Congo, Rep.  Africa 1952 42.11100 854885 2125.6214 NA NA
Congo, Rep.  Africa 1957 45.05300 940458 2315.0566 NA NA
Congo, Rep.  Africa 1962 48.43500 1047924 2464.7832 106.10 5.97
Congo, Rep.  Africa 1967 52.04000 1179760 2677.9396 94.90 6.17
Congo, Rep.  Africa 1972 54.90700 1340458 3213.1527 84.40 6.30
Congo, Rep.  Africa 1977 55.62500 1536769 3259.1790 76.00 6.30
Congo, Rep.  Africa 1982 56.69500 1774735 4879.5075 68.00 6.04
Congo, Rep.  Africa 1987 57.47000 2064095 4201.1949 60.90 5.59
Congo, Rep.  Africa 1992 56.43300 2409073 4016.2395 63.00 5.24
Congo, Rep.  Africa 1997 52.96200 2800947 3484.1644 73.50 5.14
Congo, Rep.  Africa 2002 52.97000 3328795 3484.0620 73.30 5.13
Congo, Rep.  Africa 2007 55.32200 3800610 3632.5578 53.10 5.11
Costa Rica Americas 1952 57.20600 926317 2627.0095 NA NA
Costa Rica Americas 1957 60.02600 1112300 2990.0108 NA NA
Costa Rica Americas 1962 62.84200 1345187 3460.9370 80.64 7.22
Costa Rica Americas 1967 65.42400 1588717 4161.7278 64.60 6.00
Costa Rica Americas 1972 67.84900 1834796 5118.1469 52.50 4.49
Costa Rica Americas 1977 70.75000 2108457 5926.8770 28.10 3.78
Costa Rica Americas 1982 73.45000 2424367 5262.7348 19.20 3.54
Costa Rica Americas 1987 74.75200 2799811 5629.9153 16.30 3.38
Costa Rica Americas 1992 75.71300 3173216 6160.4163 13.70 3.00
Costa Rica Americas 1997 77.26000 3518107 6677.0453 12.70 2.62
Costa Rica Americas 2002 78.12300 3834934 7723.4472 10.00 2.28
Costa Rica Americas 2007 78.78200 4133884 9645.0614 8.90 1.95
Cote d’Ivoire Africa 1952 40.47700 2977019 1388.5947 NA NA
Cote d’Ivoire Africa 1957 42.46900 3300000 1500.8959 NA NA
Cote d’Ivoire Africa 1962 44.93000 3832408 1728.8694 197.70 7.50
Cote d’Ivoire Africa 1967 47.35000 4744870 2052.0505 174.20 7.81
Cote d’Ivoire Africa 1972 49.80100 6071696 2378.2011 151.30 7.94
Cote d’Ivoire Africa 1977 52.37400 7459574 2517.7365 124.70 7.84
Cote d’Ivoire Africa 1982 53.98300 9025951 2602.7102 109.50 7.38
Cote d’Ivoire Africa 1987 54.65500 10761098 2156.9561 105.20 6.75
Cote d’Ivoire Africa 1992 52.04400 12772596 1648.0738 104.70 6.11
Cote d’Ivoire Africa 1997 47.99100 14625967 1786.2654 103.30 5.63
Cote d’Ivoire Africa 2002 46.83200 16252726 1648.8008 95.70 5.21
Cote d’Ivoire Africa 2007 48.32800 18013409 1544.7501 84.10 4.93
Croatia Europe 1952 61.21000 3882229 3119.2365 NA NA
Croatia Europe 1957 64.77000 3991242 4338.2316 NA NA
Croatia Europe 1962 67.13000 4076557 5477.8900 NA 2.27
Croatia Europe 1967 68.50000 4174366 6960.2979 NA 2.10
Croatia Europe 1972 69.61000 4225310 9164.0901 NA 1.98
Croatia Europe 1977 70.64000 4318673 11305.3852 NA 2.01
Croatia Europe 1982 70.46000 4413368 13221.8218 18.40 1.98
Croatia Europe 1987 71.52000 4484310 13822.5839 13.80 1.84
Croatia Europe 1992 72.52700 4494013 8447.7949 9.90 1.57
Croatia Europe 1997 73.68000 4444595 9875.6045 8.00 1.51
Croatia Europe 2002 74.87600 4481020 11628.3890 6.60 1.39
Croatia Europe 2007 75.74800 4493312 14619.2227 5.30 1.41
Cuba Americas 1952 59.42100 6007797 5586.5388 NA NA
Cuba Americas 1957 62.32500 6640752 6092.1744 NA NA
Cuba Americas 1962 65.24600 7254373 5180.7559 NA 4.51
Cuba Americas 1967 68.29000 8139332 5690.2680 39.30 4.43
Cuba Americas 1972 70.72300 8831348 5305.4453 30.90 3.65
Cuba Americas 1977 72.64900 9537988 6380.4950 20.80 2.33
Cuba Americas 1982 73.71700 9789224 7316.9181 16.30 1.83
Cuba Americas 1987 74.17400 10239839 7532.9248 13.30 1.83
Cuba Americas 1992 74.41400 10723260 5592.8440 9.30 1.68
Cuba Americas 1997 76.15100 10983007 5431.9904 7.80 1.61
Cuba Americas 2002 77.15800 11226999 6340.6467 5.90 1.62
Cuba Americas 2007 78.27300 11416987 8948.1029 4.80 1.52
Czech Republic Europe 1952 66.87000 9125183 6876.1403 NA NA
Czech Republic Europe 1957 69.03000 9513758 8256.3439 NA NA
Czech Republic Europe 1962 69.90000 9620282 10136.8671 NA 2.23
Czech Republic Europe 1967 70.38000 9835109 11399.4449 NA 2.00
Czech Republic Europe 1972 70.29000 9862158 13108.4536 NA 2.15
Czech Republic Europe 1977 70.71000 10161915 14800.1606 NA 2.30
Czech Republic Europe 1982 70.96000 10303704 15377.2285 16.00 2.07
Czech Republic Europe 1987 71.58000 10311597 16310.4434 14.30 1.93
Czech Republic Europe 1992 72.40000 10315702 14297.0212 11.50 1.68
Czech Republic Europe 1997 74.01000 10300707 16048.5142 7.20 1.23
Czech Republic Europe 2002 75.51000 10256295 17596.2102 5.10 1.17
Czech Republic Europe 2007 76.48600 10228744 22833.3085 3.90 1.39
Denmark Europe 1952 70.78000 4334000 9692.3852 NA NA
Denmark Europe 1957 71.81000 4487831 11099.6593 NA NA
Denmark Europe 1962 72.35000 4646899 13583.3135 20.20 2.54
Denmark Europe 1967 72.96000 4838800 15937.2112 16.10 2.35
Denmark Europe 1972 73.47000 4991596 18866.2072 12.50 2.03
Denmark Europe 1977 74.69000 5088419 20422.9015 9.20 1.66
Denmark Europe 1982 74.63000 5117810 21688.0405 8.00 1.43
Denmark Europe 1987 74.80000 5127024 25116.1758 8.00 1.50
Denmark Europe 1992 75.33000 5171393 26406.7399 6.50 1.76
Denmark Europe 1997 76.11000 5283663 29804.3457 5.00 1.75
Denmark Europe 2002 77.18000 5374693 32166.5001 4.50 1.72
Denmark Europe 2007 78.33200 5468120 35278.4187 3.70 1.85
Djibouti Africa 1952 34.81200 63149 2669.5295 NA NA
Djibouti Africa 1957 37.32800 71851 2864.9691 NA NA
Djibouti Africa 1962 39.69300 89898 3020.9893 NA 6.53
Djibouti Africa 1967 42.07400 127617 3020.0505 NA 6.70
Djibouti Africa 1972 44.36600 178848 3694.2124 NA 6.84
Djibouti Africa 1977 46.51900 228694 3081.7610 127.60 6.67
Djibouti Africa 1982 48.81200 305991 2879.4681 112.20 6.32
Djibouti Africa 1987 50.04000 311025 2880.1026 98.90 6.19
Djibouti Africa 1992 51.60400 384156 2377.1562 89.60 5.88
Djibouti Africa 1997 53.15700 417908 1895.0170 83.90 4.95
Djibouti Africa 2002 53.37300 447416 1908.2609 76.40 4.25
Djibouti Africa 2007 54.79100 496374 2082.4816 67.50 3.83
Dominican Republic Americas 1952 45.92800 2491346 1397.7171 NA NA
Dominican Republic Americas 1957 49.82800 2923186 1544.4030 NA NA
Dominican Republic Americas 1962 53.45900 3453434 1662.1374 99.60 7.40
Dominican Republic Americas 1967 56.75100 4049146 1653.7230 91.10 6.74
Dominican Republic Americas 1972 59.63100 4671329 2189.8745 81.60 5.78
Dominican Republic Americas 1977 61.78800 5302800 2681.9889 70.30 4.85
Dominican Republic Americas 1982 63.72700 5968349 2861.0924 60.00 4.19
Dominican Republic Americas 1987 66.04600 6655297 2899.8422 51.30 3.70
Dominican Republic Americas 1992 68.45700 7351181 3044.2142 43.30 3.33
Dominican Republic Americas 1997 69.95700 7992357 3614.1013 36.40 3.01
Dominican Republic Americas 2002 70.84700 8650322 4563.8082 31.80 2.84
Dominican Republic Americas 2007 72.23500 9319622 6025.3748 29.10 2.69
Ecuador Americas 1952 48.35700 3548753 3522.1107 NA NA
Ecuador Americas 1957 51.35600 4058385 3780.5467 NA NA
Ecuador Americas 1962 54.64000 4681707 4086.1141 115.30 6.65
Ecuador Americas 1967 56.67800 5432424 4579.0742 102.40 6.42
Ecuador Americas 1972 58.79600 6298651 5280.9947 91.20 5.87
Ecuador Americas 1977 61.31000 7278866 6679.6233 76.50 5.16
Ecuador Americas 1982 64.34200 8365850 7213.7913 62.50 4.51
Ecuador Americas 1987 67.23100 9545158 6481.7770 50.10 4.04
Ecuador Americas 1992 69.61300 10748394 7103.7026 40.50 3.58
Ecuador Americas 1997 72.31200 11911819 7429.4559 32.10 3.21
Ecuador Americas 2002 74.17300 12921234 5773.0445 26.50 2.98
Ecuador Americas 2007 74.99400 13755680 6873.2623 23.10 2.77
Egypt Africa 1952 41.89300 22223309 1418.8224 NA NA
Egypt Africa 1957 44.44400 25009741 1458.9153 NA NA
Egypt Africa 1962 46.99200 28173309 1693.3359 195.90 6.57
Egypt Africa 1967 49.29300 31681188 1814.8807 169.90 6.24
Egypt Africa 1972 51.13700 34807417 2024.0081 156.80 5.76
Egypt Africa 1977 53.31900 38783863 2785.4936 132.10 5.51
Egypt Africa 1982 56.00600 45681811 3503.7296 102.60 5.25
Egypt Africa 1987 59.79700 52799062 3885.4607 73.50 4.83
Egypt Africa 1992 63.67400 59402198 3794.7552 57.60 4.02
Egypt Africa 1997 67.21700 66134291 4173.1818 44.00 3.51
Egypt Africa 2002 69.80600 73312559 4754.6044 33.40 3.18
Egypt Africa 2007 71.33800 80264543 5581.1810 27.10 2.99
El Salvador Americas 1952 45.26200 2042865 3048.3029 NA NA
El Salvador Americas 1957 48.57000 2355805 3421.5232 NA NA
El Salvador Americas 1962 52.30700 2747687 3776.8036 121.60 6.75
El Salvador Americas 1967 55.85500 3232927 4358.5954 111.80 6.49
El Salvador Americas 1972 58.20700 3790903 4520.2460 102.90 6.01
El Salvador Americas 1977 56.69600 4282586 5138.9224 89.60 5.51
El Salvador Americas 1982 56.60400 4474873 4098.3442 70.80 4.87
El Salvador Americas 1987 63.15400 4842194 4140.4421 53.30 4.26
El Salvador Americas 1992 66.79800 5274649 4444.2317 41.70 3.78
El Salvador Americas 1997 69.53500 5783439 5154.8255 31.80 3.32
El Salvador Americas 2002 70.73400 6353681 5351.5687 24.20 2.68
El Salvador Americas 2007 71.87800 6939688 5728.3535 19.20 2.35
Equatorial Guinea Africa 1952 34.48200 216964 375.6431 NA NA
Equatorial Guinea Africa 1957 35.98300 232922 426.0964 NA NA
Equatorial Guinea Africa 1962 37.48500 249220 582.8420 NA 5.53
Equatorial Guinea Africa 1967 38.98700 259864 915.5960 NA 5.64
Equatorial Guinea Africa 1972 40.51600 277603 672.4123 NA 5.68
Equatorial Guinea Africa 1977 42.02400 192675 958.5668 NA 5.68
Equatorial Guinea Africa 1982 43.66200 285483 927.8253 145.10 5.78
Equatorial Guinea Africa 1987 45.66400 341244 966.8968 135.30 5.88
Equatorial Guinea Africa 1992 47.54500 387838 1132.0550 123.10 5.90
Equatorial Guinea Africa 1997 48.24500 439971 2814.4808 112.10 5.87
Equatorial Guinea Africa 2002 49.34800 495627 7703.4959 99.70 5.68
Equatorial Guinea Africa 2007 51.57900 551201 12154.0897 86.30 5.39
Eritrea Africa 1952 35.92800 1438760 328.9406 NA NA
Eritrea Africa 1957 38.04700 1542611 344.1619 NA NA
Eritrea Africa 1962 40.15800 1666618 380.9958 NA 6.84
Eritrea Africa 1967 42.18900 1820319 468.7950 NA 6.71
Eritrea Africa 1972 44.14200 2260187 514.3242 124.80 6.63
Eritrea Africa 1977 44.53500 2512642 505.7538 119.50 6.62
Eritrea Africa 1982 43.89000 2637297 524.8758 111.10 6.62
Eritrea Africa 1987 46.45300 2915959 521.1341 101.60 6.54
Eritrea Africa 1992 49.99100 3668440 582.8585 85.80 6.44
Eritrea Africa 1997 53.37800 4058319 913.4708 67.20 6.16
Eritrea Africa 2002 55.24000 4414865 765.3500 53.40 5.77
Eritrea Africa 2007 58.04000 4906585 641.3695 43.70 5.27
Ethiopia Africa 1952 34.07800 20860941 362.1463 NA NA
Ethiopia Africa 1957 36.66700 22815614 378.9042 NA NA
Ethiopia Africa 1962 40.05900 25145372 419.4564 NA 6.88
Ethiopia Africa 1967 42.11500 27860297 516.1186 142.70 6.88
Ethiopia Africa 1972 43.51500 30770372 566.2439 142.50 7.06
Ethiopia Africa 1977 44.51000 34617799 556.8084 143.40 7.20
Ethiopia Africa 1982 44.91600 38111756 577.8607 139.50 7.40
Ethiopia Africa 1987 46.68400 42999530 573.7413 127.60 7.39
Ethiopia Africa 1992 48.09100 52088559 421.3535 116.40 7.14
Ethiopia Africa 1997 49.40200 59861301 515.8894 98.70 6.86
Ethiopia Africa 2002 50.72500 67946797 530.0535 82.50 6.22
Ethiopia Africa 2007 52.94700 76511887 690.8056 61.00 5.35
Finland Europe 1952 66.55000 4090500 6424.5191 NA NA
Finland Europe 1957 67.49000 4324000 7545.4154 NA NA
Finland Europe 1962 68.75000 4491443 9371.8426 19.50 2.66
Finland Europe 1967 69.83000 4605744 10921.6363 15.10 2.32
Finland Europe 1972 70.87000 4639657 14358.8759 12.00 1.59
Finland Europe 1977 72.52000 4738902 15605.4228 8.70 1.69
Finland Europe 1982 74.55000 4826933 18533.1576 6.50 1.72
Finland Europe 1987 74.83000 4931729 21141.0122 5.90 1.59
Finland Europe 1992 75.70000 5041039 20647.1650 5.00 1.85
Finland Europe 1997 77.13000 5134406 23723.9502 3.90 1.75
Finland Europe 2002 78.37000 5193039 28204.5906 3.40 1.72
Finland Europe 2007 79.31300 5238460 33207.0844 2.90 1.83
France Europe 1952 67.41000 42459667 7029.8093 NA NA
France Europe 1957 68.93000 44310863 8662.8349 NA NA
France Europe 1962 70.51000 47124000 10560.4855 21.30 2.81
France Europe 1967 71.55000 49569000 12999.9177 17.10 2.68
France Europe 1972 72.38000 51732000 16107.1917 13.70 2.33
France Europe 1977 73.83000 53165019 18292.6351 11.50 1.92
France Europe 1982 74.89000 54433565 20293.8975 9.50 1.84
France Europe 1987 76.34000 55630100 22066.4421 8.10 1.81
France Europe 1992 77.46000 57374179 24703.7961 6.70 1.72
France Europe 1997 78.64000 58623428 25889.7849 4.80 1.75
France Europe 2002 79.59000 59925035 28926.0323 4.20 1.87
France Europe 2007 80.65700 61083916 30470.0167 3.60 1.96
Gabon Africa 1952 37.00300 420702 4293.4765 NA NA
Gabon Africa 1957 38.99900 434904 4976.1981 NA NA
Gabon Africa 1962 40.48900 455661 6631.4592 NA 4.54
Gabon Africa 1967 44.59800 489004 8358.7620 NA 4.90
Gabon Africa 1972 48.69000 537977 11401.9484 NA 5.21
Gabon Africa 1977 52.79000 706367 21745.5733 NA 5.54
Gabon Africa 1982 56.56400 753874 15113.3619 69.80 5.72
Gabon Africa 1987 60.19000 880397 11864.4084 62.50 5.61
Gabon Africa 1992 61.36600 985739 13522.1575 59.60 5.26
Gabon Africa 1997 60.46100 1126189 14722.8419 57.30 4.81
Gabon Africa 2002 56.76100 1299304 12521.7139 53.70 4.49
Gabon Africa 2007 56.73500 1454867 13206.4845 47.40 4.30
Gambia Africa 1952 30.00000 284320 485.2307 NA NA
Gambia Africa 1957 32.06500 323150 520.9267 NA NA
Gambia Africa 1962 33.89600 374020 599.6503 143.80 5.67
Gambia Africa 1967 35.85700 439593 734.7829 132.60 5.94
Gambia Africa 1972 38.30800 517101 756.0868 121.50 6.19
Gambia Africa 1977 41.84200 608274 884.7553 109.80 6.33
Gambia Africa 1982 45.58000 715523 835.8096 98.60 6.30
Gambia Africa 1987 49.26500 848406 611.6589 86.50 6.16
Gambia Africa 1992 52.64400 1025384 665.6244 76.10 6.08
Gambia Africa 1997 55.86100 1235767 653.7302 67.70 6.00
Gambia Africa 2002 58.04100 1457766 660.5856 60.60 5.87
Gambia Africa 2007 59.44800 1688359 752.7497 54.50 5.80
Germany Europe 1952 67.50000 69145952 7144.1144 NA NA
Germany Europe 1957 69.10000 71019069 10187.8267 NA NA
Germany Europe 1962 70.30000 73739117 12902.4629 NA 2.47
Germany Europe 1967 70.80000 76368453 14745.6256 NA 2.37
Germany Europe 1972 71.00000 78717088 18016.1803 20.60 1.80
Germany Europe 1977 72.50000 78160773 20512.9212 15.50 1.50
Germany Europe 1982 73.80000 78335266 22031.5327 11.00 1.46
Germany Europe 1987 74.84700 77718298 24639.1857 8.30 1.43
Germany Europe 1992 76.07000 80597764 26505.3032 6.20 1.32
Germany Europe 1997 77.34000 82011073 27788.8842 4.80 1.33
Germany Europe 2002 78.67000 82350671 30035.8020 4.20 1.35
Germany Europe 2007 79.40600 82400996 32170.3744 3.70 1.36
Ghana Africa 1952 43.14900 5581001 911.2989 NA NA
Ghana Africa 1957 44.77900 6391288 1043.5615 NA NA
Ghana Africa 1962 46.45200 7355248 1190.0411 122.70 6.83
Ghana Africa 1967 48.07200 8490213 1125.6972 120.60 6.95
Ghana Africa 1972 49.87500 9354120 1178.2237 118.20 6.92
Ghana Africa 1977 51.75600 10538093 993.2240 106.00 6.72
Ghana Africa 1982 53.74400 11400338 876.0326 99.30 6.39
Ghana Africa 1987 55.72900 14168101 847.0061 89.00 5.94
Ghana Africa 1992 57.50100 16278738 925.0602 75.60 5.39
Ghana Africa 1997 58.55600 18418288 1005.2458 69.80 4.87
Ghana Africa 2002 58.45300 20550751 1111.9846 61.20 4.57
Ghana Africa 2007 60.02200 22873338 1327.6089 54.40 4.26
Greece Europe 1952 65.86000 7733250 3530.6901 NA NA
Greece Europe 1957 67.86000 8096218 4916.2999 NA NA
Greece Europe 1962 69.51000 8448233 6017.1907 46.20 2.22
Greece Europe 1967 71.00000 8716441 8513.0970 39.90 2.35
Greece Europe 1972 72.34000 8888628 12724.8296 30.80 2.35
Greece Europe 1977 73.68000 9308479 14195.5243 25.90 2.32
Greece Europe 1982 75.24000 9786480 15268.4209 18.70 2.01
Greece Europe 1987 76.67000 9974490 16120.5284 13.90 1.58
Greece Europe 1992 77.03000 10325429 17541.4963 10.30 1.37
Greece Europe 1997 77.86900 10502372 18747.6981 8.30 1.29
Greece Europe 2002 78.25600 10603863 22514.2548 6.00 1.28
Greece Europe 2007 79.48300 10706290 27538.4119 4.40 1.43
Guatemala Americas 1952 42.02300 3146381 2428.2378 NA NA
Guatemala Americas 1957 44.14200 3640876 2617.1560 NA NA
Guatemala Americas 1962 46.95400 4208858 2750.3644 140.70 6.49
Guatemala Americas 1967 50.01600 4690773 3242.5311 127.10 6.32
Guatemala Americas 1972 53.73800 5149581 4031.4083 112.10 6.21
Guatemala Americas 1977 56.02900 5703430 4879.9927 96.80 6.20
Guatemala Americas 1982 58.13700 6395630 4820.4948 81.80 6.11
Guatemala Americas 1987 60.78200 7326406 4246.4860 67.70 5.76
Guatemala Americas 1992 63.37300 8486949 4439.4508 55.00 5.47
Guatemala Americas 1997 66.32200 9803875 4684.3138 44.70 5.06
Guatemala Americas 2002 68.97800 11178650 4858.3475 37.10 4.63
Guatemala Americas 2007 70.25900 12572928 5186.0500 31.20 4.20
Guinea Africa 1952 33.60900 2664249 510.1965 NA NA
Guinea Africa 1957 34.55800 2876726 576.2670 NA NA
Guinea Africa 1962 35.75300 3140003 686.3737 209.10 6.12
Guinea Africa 1967 37.19700 3451418 708.7595 200.90 6.15
Guinea Africa 1972 38.84200 3811387 741.6662 191.10 6.25
Guinea Africa 1977 40.76200 4227026 874.6859 179.10 6.43
Guinea Africa 1982 42.89100 4710497 857.2504 164.30 6.59
Guinea Africa 1987 45.55200 5650262 805.5725 150.00 6.64
Guinea Africa 1992 48.57600 6990574 794.3484 133.70 6.49
Guinea Africa 1997 51.45500 8048834 869.4498 114.70 6.16
Guinea Africa 2002 53.67600 8807818 945.5836 95.40 5.79
Guinea Africa 2007 56.00700 9947814 942.6542 79.00 5.42
Guinea-Bissau Africa 1952 32.50000 580653 299.8503 NA NA
Guinea-Bissau Africa 1957 33.48900 601095 431.7905 NA NA
Guinea-Bissau Africa 1962 34.48800 627820 522.0344 NA 5.67
Guinea-Bissau Africa 1967 35.49200 601287 715.5806 NA 5.09
Guinea-Bissau Africa 1972 36.48600 625361 820.2246 NA 6.81
Guinea-Bissau Africa 1977 37.46500 745228 764.7260 135.30 6.46
Guinea-Bissau Africa 1982 39.32700 825987 838.1240 130.70 6.54
Guinea-Bissau Africa 1987 41.24500 927524 736.4154 143.10 6.73
Guinea-Bissau Africa 1992 43.26600 1050938 745.5399 130.20 6.55
Guinea-Bissau Africa 1997 44.87300 1193708 796.6645 116.20 6.12
Guinea-Bissau Africa 2002 45.50400 1332459 575.7047 100.50 5.69
Guinea-Bissau Africa 2007 46.38800 1472041 579.2317 83.30 5.32
Haiti Americas 1952 37.57900 3201488 1840.3669 NA NA
Haiti Americas 1957 40.69600 3507701 1726.8879 NA NA
Haiti Americas 1962 43.59000 3880130 1796.5890 188.30 6.30
Haiti Americas 1967 46.24300 4318137 1452.0577 172.90 6.03
Haiti Americas 1972 48.04200 4698301 1654.4569 156.60 5.64
Haiti Americas 1977 49.92300 4908554 1874.2989 139.20 5.78
Haiti Americas 1982 51.46100 5198399 2011.1595 123.00 6.15
Haiti Americas 1987 53.63600 5756203 1823.0160 108.80 5.80
Haiti Americas 1992 55.08900 6326682 1456.3095 95.80 5.21
Haiti Americas 1997 56.67100 6913545 1341.7269 82.40 4.67
Haiti Americas 2002 58.13700 7607651 1270.3649 70.70 4.07
Haiti Americas 2007 60.91600 8502814 1201.6372 62.70 3.58
Honduras Americas 1952 41.91200 1517453 2194.9262 NA NA
Honduras Americas 1957 44.66500 1770390 2220.4877 NA NA
Honduras Americas 1962 48.04100 2090162 2291.1568 132.40 7.44
Honduras Americas 1967 50.92400 2500689 2538.2694 113.10 7.42
Honduras Americas 1972 53.88400 2965146 2529.8423 95.20 7.11
Honduras Americas 1977 57.40200 3055235 3203.2081 78.50 6.65
Honduras Americas 1982 60.90900 3669448 3121.7608 63.50 6.06
Honduras Americas 1987 64.49200 4372203 3023.0967 51.20 5.44
Honduras Americas 1992 66.39900 5077347 3081.6946 41.50 4.95
Honduras Americas 1997 67.65900 5867957 3160.4549 34.30 4.37
Honduras Americas 2002 68.56500 6677328 3099.7287 28.20 3.78
Honduras Americas 2007 70.19800 7483763 3548.3308 23.20 3.34
Hong Kong, China Asia 1952 60.96000 2125900 3054.4212 NA NA
Hong Kong, China Asia 1957 64.75000 2736300 3629.0765 NA NA
Hong Kong, China Asia 1962 67.65000 3305200 4692.6483 NA 5.18
Hong Kong, China Asia 1967 70.00000 3722800 6197.9628 NA 3.96
Hong Kong, China Asia 1972 72.00000 4115700 8315.9281 NA 3.24
Hong Kong, China Asia 1977 73.60000 4583700 11186.1413 NA 2.44
Hong Kong, China Asia 1982 75.45000 5264500 14560.5305 NA 1.75
Hong Kong, China Asia 1987 76.20000 5584510 20038.4727 NA 1.39
Hong Kong, China Asia 1992 77.60100 5829696 24757.6030 NA 1.22
Hong Kong, China Asia 1997 80.00000 6495918 28377.6322 NA 0.92
Hong Kong, China Asia 2002 81.49500 6762476 30209.0152 NA 0.92
Hong Kong, China Asia 2007 82.20800 6980412 39724.9787 NA 1.02
Hungary Europe 1952 64.03000 9504000 5263.6738 NA NA
Hungary Europe 1957 66.41000 9839000 6040.1800 NA NA
Hungary Europe 1962 67.96000 10063000 7550.3599 49.00 1.92
Hungary Europe 1967 69.50000 10223422 9326.6447 42.00 1.95
Hungary Europe 1972 69.76000 10394091 10168.6561 38.40 2.07
Hungary Europe 1977 69.95000 10637171 11674.8374 29.40 2.11
Hungary Europe 1982 69.39000 10705535 12545.9907 22.00 1.88
Hungary Europe 1987 69.58000 10612740 12986.4800 19.40 1.84
Hungary Europe 1992 69.17000 10348684 10535.6285 15.40 1.75
Hungary Europe 1997 71.04000 10244684 11712.7768 11.10 1.43
Hungary Europe 2002 72.59000 10083313 14843.9356 8.60 1.29
Hungary Europe 2007 73.33800 9956108 18008.9444 6.50 1.32
Iceland Europe 1952 72.49000 147962 7267.6884 NA NA
Iceland Europe 1957 73.47000 165110 9244.0014 NA NA
Iceland Europe 1962 73.68000 182053 10350.1591 16.90 3.98
Iceland Europe 1967 73.73000 198676 13319.8957 14.40 3.34
Iceland Europe 1972 74.46000 209275 15798.0636 11.80 2.88
Iceland Europe 1977 76.11000 221823 19654.9625 9.20 2.49
Iceland Europe 1982 76.99000 233997 23269.6075 7.00 2.23
Iceland Europe 1987 77.23000 244676 26923.2063 5.60 2.13
Iceland Europe 1992 78.77000 259012 25144.3920 4.70 2.17
Iceland Europe 1997 78.95000 271192 28061.0997 3.70 2.07
Iceland Europe 2002 80.50000 288030 31163.2020 2.80 2.00
Iceland Europe 2007 81.75700 301931 36180.7892 2.20 2.11
India Asia 1952 37.37300 372000000 546.5657 NA NA
India Asia 1957 40.24900 409000000 590.0620 NA NA
India Asia 1962 43.60500 454000000 658.3472 160.10 5.84
India Asia 1967 47.19300 506000000 700.7706 148.90 5.70
India Asia 1972 50.65100 567000000 724.0325 138.30 5.32
India Asia 1977 54.20800 634000000 813.3373 124.00 4.92
India Asia 1982 56.59600 708000000 855.7235 108.40 4.52
India Asia 1987 58.55300 788000000 976.5127 95.60 4.13
India Asia 1992 60.22300 872000000 1164.4068 83.90 3.71
India Asia 1997 61.76500 959000000 1458.8174 73.10 3.33
India Asia 2002 62.87900 1034172547 1746.7695 62.00 3.02
India Asia 2007 64.69800 1110396331 2452.2104 51.90 2.69
Indonesia Asia 1952 37.46800 82052000 749.6817 NA NA
Indonesia Asia 1957 39.91800 90124000 858.9003 NA NA
Indonesia Asia 1962 42.51800 99028000 849.2898 141.20 5.65
Indonesia Asia 1967 45.96400 109343000 762.4318 123.40 5.58
Indonesia Asia 1972 49.20300 121282000 1111.1079 106.70 5.34
Indonesia Asia 1977 52.70200 136725000 1382.7021 92.50 4.81
Indonesia Asia 1982 56.15900 153343000 1516.8730 80.80 4.17
Indonesia Asia 1987 60.13700 169276000 1748.3570 69.30 3.47
Indonesia Asia 1992 62.68100 184816000 2383.1409 57.40 2.93
Indonesia Asia 1997 66.04100 199278000 3119.3356 46.70 2.58
Indonesia Asia 2002 68.58800 211060000 2873.9129 37.80 2.47
Indonesia Asia 2007 70.65000 223547000 3540.6516 30.90 2.49
Iran Asia 1952 44.86900 17272000 3035.3260 NA NA
Iran Asia 1957 47.18100 19792000 3290.2576 NA NA
Iran Asia 1962 49.32500 22874000 4187.3298 176.37 6.91
Iran Asia 1967 52.46900 26538000 5906.7318 191.30 6.70
Iran Asia 1972 55.23400 30614000 9613.8186 120.70 6.29
Iran Asia 1977 57.70200 35480679 11888.5951 95.00 6.29
Iran Asia 1982 59.62000 43072751 7608.3346 68.50 6.52
Iran Asia 1987 63.04000 51889696 6642.8814 51.90 5.76
Iran Asia 1992 65.74200 60397973 7235.6532 40.80 4.14
Iran Asia 1997 68.04200 63327987 8263.5903 33.20 2.72
Iran Asia 2002 69.45100 66907826 9240.7620 25.60 1.99
Iran Asia 2007 70.96400 69453570 11605.7145 19.40 1.87
Iraq Asia 1952 45.32000 5441766 4129.7661 NA NA
Iraq Asia 1957 48.43700 6248643 6229.3336 NA NA
Iraq Asia 1962 51.45700 7240260 8341.7378 118.30 6.51
Iraq Asia 1967 54.45900 8519282 8931.4598 93.00 7.30
Iraq Asia 1972 56.95000 10061506 9576.0376 74.90 7.23
Iraq Asia 1977 60.41300 11882916 14688.2351 61.20 6.83
Iraq Asia 1982 62.03800 14173318 14517.9071 51.60 6.41
Iraq Asia 1987 65.04400 16543189 11643.5727 45.10 6.11
Iraq Asia 1992 59.46100 17861905 3745.6407 40.80 5.70
Iraq Asia 1997 58.81100 20775703 3076.2398 37.60 5.23
Iraq Asia 2002 57.04600 24001816 4390.7173 34.60 4.80
Iraq Asia 2007 59.54500 27499638 4471.0619 31.80 4.41
Ireland Europe 1952 66.91000 2952156 5210.2803 NA NA
Ireland Europe 1957 68.90000 2878220 5599.0779 NA NA
Ireland Europe 1962 70.29000 2830000 6631.5973 28.00 3.98
Ireland Europe 1967 71.08000 2900100 7655.5690 21.90 3.86
Ireland Europe 1972 71.28000 3024400 9530.7729 18.30 3.79
Ireland Europe 1977 72.03000 3271900 11150.9811 15.20 3.34
Ireland Europe 1982 73.10000 3480000 12618.3214 10.40 2.79
Ireland Europe 1987 74.36000 3539900 13872.8665 8.40 2.23
Ireland Europe 1992 75.46700 3557761 17558.8155 6.80 1.92
Ireland Europe 1997 76.12200 3667233 24521.9471 6.10 1.92
Ireland Europe 2002 77.78300 3879155 34077.0494 5.40 1.97
Ireland Europe 2007 78.88500 4109086 40675.9964 3.90 2.00
Israel Asia 1952 65.39000 1620914 4086.5221 NA NA
Israel Asia 1957 67.84000 1944401 5385.2785 NA NA
Israel Asia 1962 69.39000 2310904 7105.6307 NA 3.83
Israel Asia 1967 70.75000 2693585 8393.7414 NA 3.80
Israel Asia 1972 71.63000 3095893 12786.9322 NA 3.80
Israel Asia 1977 73.06000 3495918 13306.6192 18.60 3.51
Israel Asia 1982 74.45000 3858421 15367.0292 14.00 3.17
Israel Asia 1987 75.60000 4203148 17122.4799 11.00 3.06
Israel Asia 1992 76.93000 4936550 18051.5225 8.70 2.95
Israel Asia 1997 78.26900 5531387 20896.6092 6.40 2.93
Israel Asia 2002 79.69600 6029529 21905.5951 5.20 2.91
Israel Asia 2007 80.74500 6426679 25523.2771 4.10 2.91
Italy Europe 1952 65.94000 47666000 4931.4042 NA NA
Italy Europe 1957 67.81000 49182000 6248.6562 NA NA
Italy Europe 1962 69.24000 50843200 8243.5823 41.00 2.44
Italy Europe 1967 71.06000 52667100 10022.4013 33.10 2.52
Italy Europe 1972 72.19000 54365564 12269.2738 26.50 2.38
Italy Europe 1977 73.48000 56059245 14255.9847 17.30 1.99
Italy Europe 1982 74.98000 56535636 16537.4835 12.60 1.57
Italy Europe 1987 76.42000 56729703 19207.2348 9.40 1.35
Italy Europe 1992 77.44000 56840847 22013.6449 7.70 1.28
Italy Europe 1997 78.82000 57479469 24675.0245 5.60 1.22
Italy Europe 2002 80.24000 57926999 27968.0982 4.30 1.25
Italy Europe 2007 80.54600 58147733 28569.7197 3.60 1.37
Jamaica Americas 1952 58.53000 1426095 2898.5309 NA NA
Jamaica Americas 1957 62.61000 1535090 4756.5258 NA NA
Jamaica Americas 1962 65.61000 1665128 5246.1075 57.70 5.63
Jamaica Americas 1967 67.51000 1861096 6124.7035 49.30 5.79
Jamaica Americas 1972 69.00000 1997616 7433.8893 41.80 5.11
Jamaica Americas 1977 70.11000 2156814 6650.1956 35.60 4.12
Jamaica Americas 1982 71.21000 2298309 6068.0513 31.30 3.56
Jamaica Americas 1987 71.77000 2326606 6351.2375 27.50 3.14
Jamaica Americas 1992 71.76600 2378618 7404.9237 24.00 2.86
Jamaica Americas 1997 72.26200 2531311 7121.9247 20.50 2.68
Jamaica Americas 2002 72.04700 2664659 6994.7749 17.80 2.55
Jamaica Americas 2007 72.56700 2780132 7320.8803 16.50 2.41
Japan Asia 1952 63.03000 86459025 3216.9563 NA NA
Japan Asia 1957 65.50000 91563009 4317.6944 NA NA
Japan Asia 1962 68.73000 95831757 6576.6495 25.50 1.97
Japan Asia 1967 71.43000 100825279 9847.7886 16.30 2.02
Japan Asia 1972 73.42000 107188273 14778.7864 11.90 2.11
Japan Asia 1977 75.38000 113872473 16610.3770 8.80 1.89
Japan Asia 1982 77.11000 118454974 19384.1057 6.50 1.75
Japan Asia 1987 78.67000 122091325 22375.9419 5.00 1.67
Japan Asia 1992 79.36000 124329269 26824.8951 4.40 1.50
Japan Asia 1997 80.69000 125956499 28816.5850 3.80 1.37
Japan Asia 2002 82.00000 127065841 28604.5919 3.00 1.30
Japan Asia 2007 82.60300 127467972 31656.0681 2.60 1.33
Jordan Asia 1952 43.15800 607914 1546.9078 NA NA
Jordan Asia 1957 45.66900 746559 1886.0806 NA NA
Jordan Asia 1962 48.12600 933559 2348.0092 96.60 7.90
Jordan Asia 1967 51.62900 1255058 2741.7963 75.20 8.03
Jordan Asia 1972 56.52800 1613551 2110.8563 60.20 7.82
Jordan Asia 1977 61.13400 1937652 2852.3516 49.10 7.46
Jordan Asia 1982 63.73900 2347031 4161.4160 40.20 7.07
Jordan Asia 1987 65.86900 2820042 4448.6799 33.10 6.16
Jordan Asia 1992 68.01500 3867409 3431.5936 28.30 5.17
Jordan Asia 1997 69.77200 4526235 3645.3796 24.90 4.40
Jordan Asia 2002 71.26300 5307470 3844.9172 22.10 3.89
Jordan Asia 2007 72.53500 6053193 4519.4612 19.30 3.64
Kenya Africa 1952 42.27000 6464046 853.5409 NA NA
Kenya Africa 1957 44.68600 7454779 944.4383 NA NA
Kenya Africa 1962 47.94900 8678557 896.9664 109.90 8.04
Kenya Africa 1967 50.65400 10191512 1056.7365 97.10 8.13
Kenya Africa 1972 53.55900 12044785 1222.3600 87.30 8.01
Kenya Africa 1977 56.15500 14500404 1267.6132 76.00 7.70
Kenya Africa 1982 58.76600 17661452 1348.2258 65.80 7.27
Kenya Africa 1987 59.33900 21198082 1361.9369 62.70 6.60
Kenya Africa 1992 59.28500 25020539 1341.9217 68.90 5.67
Kenya Africa 1997 54.40700 28263827 1360.4850 71.10 5.10
Kenya Africa 2002 50.99200 31386842 1287.5147 62.20 4.99
Kenya Africa 2007 54.11000 35610177 1463.2493 49.50 4.82
Korea, Dem. Rep.  Asia 1952 50.05600 8865488 1088.2778 NA NA
Korea, Dem. Rep.  Asia 1957 54.08100 9411381 1571.1347 NA NA
Korea, Dem. Rep.  Asia 1962 56.65600 10917494 1621.6936 NA NA
Korea, Dem. Rep.  Asia 1967 59.94200 12617009 2143.5406 NA NA
Korea, Dem. Rep.  Asia 1972 63.98300 14781241 3701.6215 NA NA
Korea, Dem. Rep.  Asia 1977 67.15900 16325320 4106.3012 NA NA
Korea, Dem. Rep.  Asia 1982 69.10000 17647518 4106.5253 NA NA
Korea, Dem. Rep.  Asia 1987 70.64700 19067554 4106.4923 NA NA
Korea, Dem. Rep.  Asia 1992 69.97800 20711375 3726.0635 NA NA
Korea, Dem. Rep.  Asia 1997 67.72700 21585105 1690.7568 NA NA
Korea, Dem. Rep.  Asia 2002 66.66200 22215365 1646.7582 NA NA
Korea, Dem. Rep.  Asia 2007 67.29700 23301725 1593.0655 NA NA
Korea, Rep.  Asia 1952 47.45300 20947571 1030.5922 NA NA
Korea, Rep.  Asia 1957 52.68100 22611552 1487.5935 NA NA
Korea, Rep.  Asia 1962 55.29200 26420307 1536.3444 NA NA
Korea, Rep.  Asia 1967 57.71600 30131000 2029.2281 NA NA
Korea, Rep.  Asia 1972 62.61200 33505000 3030.8767 NA NA
Korea, Rep.  Asia 1977 64.76600 36436000 4657.2210 NA NA
Korea, Rep.  Asia 1982 67.12300 39326000 5622.9425 NA NA
Korea, Rep.  Asia 1987 69.81000 41622000 8533.0888 NA NA
Korea, Rep.  Asia 1992 72.24400 43805450 12104.2787 NA NA
Korea, Rep.  Asia 1997 74.64700 46173816 15993.5280 NA NA
Korea, Rep.  Asia 2002 77.04500 47969150 19233.9882 NA NA
Korea, Rep.  Asia 2007 78.62300 49044790 23348.1397 NA NA
Kuwait Asia 1952 55.56500 160000 108382.3529 NA NA
Kuwait Asia 1957 58.03300 212846 113523.1329 NA NA
Kuwait Asia 1962 60.47000 358266 95458.1118 89.00 7.31
Kuwait Asia 1967 64.62400 575003 80894.8833 63.70 7.41
Kuwait Asia 1972 67.71200 841934 109347.8670 47.90 6.98
Kuwait Asia 1977 69.34300 1140357 59265.4771 36.00 6.05
Kuwait Asia 1982 71.30900 1497494 31354.0357 25.20 5.08
Kuwait Asia 1987 74.17400 1891487 28118.4300 17.60 3.31
Kuwait Asia 1992 75.19000 1418095 34932.9196 14.00 2.14
Kuwait Asia 1997 76.15600 1765345 40300.6200 11.90 2.79
Kuwait Asia 2002 76.90400 2111561 35110.1057 10.60 2.72
Kuwait Asia 2007 77.58800 2505559 47306.9898 9.80 2.67
Lebanon Asia 1952 55.92800 1439529 4834.8041 NA NA
Lebanon Asia 1957 59.48900 1647412 6089.7869 NA NA
Lebanon Asia 1962 62.09400 1886848 5714.5606 54.70 5.69
Lebanon Asia 1967 63.87000 2186894 6006.9830 49.80 5.30
Lebanon Asia 1972 65.42100 2680018 7486.3843 47.20 4.73
Lebanon Asia 1977 66.09900 3115787 8659.6968 43.60 4.27
Lebanon Asia 1982 66.98300 3086876 7640.5195 37.80 3.80
Lebanon Asia 1987 67.92600 3089353 5377.0913 30.80 3.28
Lebanon Asia 1992 69.29200 3219994 6890.8069 24.70 2.84
Lebanon Asia 1997 70.26500 3430388 8754.9639 19.90 2.47
Lebanon Asia 2002 71.02800 3677780 9313.9388 15.10 2.04
Lebanon Asia 2007 71.99300 3921278 10461.0587 10.40 1.62
Lesotho Africa 1952 42.13800 748747 298.8462 NA NA
Lesotho Africa 1957 45.04700 813338 335.9971 NA NA
Lesotho Africa 1962 47.74700 893143 411.8006 141.70 5.82
Lesotho Africa 1967 48.49200 996380 498.6390 138.90 5.80
Lesotho Africa 1972 49.76700 1116779 496.5816 125.40 5.80
Lesotho Africa 1977 52.20800 1251524 745.3695 106.20 5.71
Lesotho Africa 1982 55.07800 1411807 797.2631 85.80 5.49
Lesotho Africa 1987 57.18000 1599200 773.9932 73.70 5.17
Lesotho Africa 1992 59.68500 1803195 977.4863 71.10 4.76
Lesotho Africa 1997 55.55800 1982823 1186.1480 80.50 4.39
Lesotho Africa 2002 44.59300 2046772 1275.1846 86.30 3.86
Lesotho Africa 2007 42.59200 2012649 1569.3314 84.30 3.41
Liberia Africa 1952 38.48000 863308 575.5730 NA NA
Liberia Africa 1957 39.48600 975950 620.9700 NA NA
Liberia Africa 1962 40.50200 1112796 634.1952 211.40 6.45
Liberia Africa 1967 41.53600 1279406 713.6036 201.70 6.58
Liberia Africa 1972 42.61400 1482628 803.0055 184.40 6.78
Liberia Africa 1977 43.76400 1703617 640.3224 168.30 6.93
Liberia Africa 1982 44.85200 1956875 572.1996 157.10 6.96
Liberia Africa 1987 46.02700 2269414 506.1139 161.50 6.75
Liberia Africa 1992 40.80200 1912974 636.6229 170.30 6.34
Liberia Africa 1997 42.22100 2200725 609.1740 145.20 6.06
Liberia Africa 2002 43.75300 2814651 531.4824 108.20 5.72
Liberia Africa 2007 45.67800 3193942 414.5073 76.90 5.28
Libya Africa 1952 42.72300 1019729 2387.5481 NA NA
Libya Africa 1957 45.28900 1201578 3448.2844 NA NA
Libya Africa 1962 47.80800 1441863 6757.0308 148.40 7.61
Libya Africa 1967 50.22700 1759224 18772.7517 113.30 7.78
Libya Africa 1972 52.77300 2183877 21011.4972 86.00 7.93
Libya Africa 1977 57.44200 2721783 21951.2118 65.60 7.98
Libya Africa 1982 62.15500 3344074 17364.2754 52.20 7.42
Libya Africa 1987 66.23400 3799845 11770.5898 41.30 5.91
Libya Africa 1992 68.75500 4364501 9640.1385 32.20 4.43
Libya Africa 1997 71.55500 4759670 9467.4461 26.50 3.38
Libya Africa 2002 72.73700 5368585 9534.6775 22.70 2.93
Libya Africa 2007 73.95200 6036914 12057.4993 17.30 2.69
Madagascar Africa 1952 36.68100 4762912 1443.0117 NA NA
Madagascar Africa 1957 38.86500 5181679 1589.2027 NA NA
Madagascar Africa 1962 40.84800 5703324 1643.3871 NA 7.30
Madagascar Africa 1967 42.88100 6334556 1634.0473 105.40 7.31
Madagascar Africa 1972 44.85100 7082430 1748.5630 95.30 7.32
Madagascar Africa 1977 46.88100 8007166 1544.2286 101.90 7.01
Madagascar Africa 1982 48.96900 9171477 1302.8787 108.50 6.24
Madagascar Africa 1987 49.35000 10568642 1155.4419 106.40 6.23
Madagascar Africa 1992 52.21400 12210395 1040.6762 92.90 6.18
Madagascar Africa 1997 54.97800 14165114 986.2959 80.00 5.84
Madagascar Africa 2002 57.28600 16473477 894.6371 62.90 5.34
Madagascar Africa 2007 59.44300 19167654 1044.7701 47.90 4.87
Malawi Africa 1952 36.25600 2917802 369.1651 NA NA
Malawi Africa 1957 37.20700 3221238 416.3698 NA NA
Malawi Africa 1962 38.41000 3628608 427.9011 214.60 6.98
Malawi Africa 1967 39.48700 4147252 495.5148 211.50 7.18
Malawi Africa 1972 41.76600 4730997 584.6220 200.60 7.39
Malawi Africa 1977 43.76700 5637246 663.2237 170.60 7.58
Malawi Africa 1982 45.64200 6502825 632.8039 144.40 7.61
Malawi Africa 1987 47.45700 7824747 635.5174 149.60 7.40
Malawi Africa 1992 49.42000 10014249 563.2000 133.10 6.72
Malawi Africa 1997 47.49500 10419991 692.2758 117.10 6.41
Malawi Africa 2002 45.00900 11824495 665.4231 88.80 6.12
Malawi Africa 2007 48.30300 13327079 759.3499 64.50 5.84
Malaysia Asia 1952 48.46300 6748378 1831.1329 NA NA
Malaysia Asia 1957 52.10200 7739235 1810.0670 NA NA
Malaysia Asia 1962 55.73700 8906385 2036.8849 61.10 6.05
Malaysia Asia 1967 59.37100 10154878 2277.7424 49.10 5.33
Malaysia Asia 1972 63.01000 11441462 2849.0948 39.80 4.60
Malaysia Asia 1977 65.25600 12845381 3827.9216 30.50 3.99
Malaysia Asia 1982 68.00000 14441916 4920.3560 22.40 3.73
Malaysia Asia 1987 69.50000 16331785 5249.8027 16.60 3.60
Malaysia Asia 1992 70.69300 18319502 7277.9128 13.00 3.45
Malaysia Asia 1997 71.93800 20476091 10132.9096 10.70 3.19
Malaysia Asia 2002 73.04400 22662365 10206.9779 7.60 2.54
Malaysia Asia 2007 74.24100 24821286 12451.6558 6.90 2.09
Mali Africa 1952 33.68500 3838168 452.3370 NA NA
Mali Africa 1957 35.30700 4241884 490.3822 NA NA
Mali Africa 1962 36.93600 4690372 496.1743 225.20 6.75
Mali Africa 1967 38.48700 5212416 545.0099 203.00 6.86
Mali Africa 1972 39.97700 5828158 581.3689 191.10 6.92
Mali Africa 1977 41.71400 6491649 686.3953 172.80 7.00
Mali Africa 1982 43.91600 6998256 618.0141 154.20 7.07
Mali Africa 1987 46.36400 7634008 684.1716 137.80 7.09
Mali Africa 1992 48.38800 8416215 739.0144 127.30 7.02
Mali Africa 1997 49.90300 9384984 790.2580 122.60 6.90
Mali Africa 2002 51.81800 10580176 951.4098 108.80 6.81
Mali Africa 2007 54.46700 12031795 1042.5816 90.10 6.81
Mauritania Africa 1952 40.54300 1022556 743.1159 NA NA
Mauritania Africa 1957 42.33800 1076852 846.1203 NA NA
Mauritania Africa 1962 44.24800 1146757 1055.8960 128.90 6.79
Mauritania Africa 1967 46.28900 1230542 1421.1452 114.80 6.80
Mauritania Africa 1972 48.43700 1332786 1586.8518 107.00 6.76
Mauritania Africa 1977 50.85200 1456688 1497.4922 102.00 6.59
Mauritania Africa 1982 53.59900 1622136 1481.1502 92.50 6.31
Mauritania Africa 1987 56.14500 1841240 1421.6036 82.10 6.10
Mauritania Africa 1992 58.33300 2119465 1361.3698 76.70 5.88
Mauritania Africa 1997 60.43000 2444741 1483.1361 76.30 5.57
Mauritania Africa 2002 62.24700 2828858 1579.0195 75.90 5.26
Mauritania Africa 2007 64.16400 3270065 1803.1515 73.10 4.99
Mauritius Africa 1952 50.98600 516556 1967.9557 NA NA
Mauritius Africa 1957 58.08900 609816 2034.0380 NA NA
Mauritius Africa 1962 60.24600 701016 2529.0675 63.60 6.12
Mauritius Africa 1967 61.55700 789309 2475.3876 68.40 4.85
Mauritius Africa 1972 62.94400 851334 2575.4842 58.70 3.58
Mauritius Africa 1977 64.93000 913025 3710.9830 39.50 3.07
Mauritius Africa 1982 66.71100 992040 3688.0377 28.30 2.41
Mauritius Africa 1987 68.74000 1042663 4783.5869 24.40 2.27
Mauritius Africa 1992 69.74500 1096202 6058.2538 18.40 2.25
Mauritius Africa 1997 70.73600 1149818 7425.7053 19.80 2.07
Mauritius Africa 2002 71.95400 1200206 9021.8159 14.20 1.93
Mauritius Africa 2007 72.80100 1250882 10956.9911 14.10 1.63
Mexico Americas 1952 50.78900 30144317 3478.1255 NA NA
Mexico Americas 1957 55.19000 35015548 4131.5466 NA NA
Mexico Americas 1962 58.29900 41121485 4581.6094 94.90 6.77
Mexico Americas 1967 60.11000 47995559 5754.7339 84.10 6.78
Mexico Americas 1972 62.36100 55984294 6809.4067 72.70 6.53
Mexico Americas 1977 65.03200 63759976 7674.9291 62.80 5.42
Mexico Americas 1982 67.40500 71640904 9611.1475 51.40 4.33
Mexico Americas 1987 69.49800 80122492 8688.1560 42.10 3.67
Mexico Americas 1992 71.45500 88111030 9472.3843 33.70 3.20
Mexico Americas 1997 73.67000 95895146 9767.2975 25.80 2.83
Mexico Americas 2002 74.90200 102479927 10742.4405 19.30 2.57
Mexico Americas 2007 76.19500 108700891 11977.5750 15.80 2.38
Mongolia Asia 1952 42.24400 800663 786.5669 NA NA
Mongolia Asia 1957 45.24800 882134 912.6626 NA NA
Mongolia Asia 1962 48.25100 1010280 1056.3540 NA 7.35
Mongolia Asia 1967 51.25300 1149500 1226.0411 NA 7.59
Mongolia Asia 1972 53.75400 1320500 1421.7420 NA 7.50
Mongolia Asia 1977 55.49100 1528000 1647.5117 NA 6.78
Mongolia Asia 1982 57.48900 1756032 2000.6031 105.60 5.86
Mongolia Asia 1987 60.22200 2015133 2338.0083 87.30 4.91
Mongolia Asia 1992 61.27100 2312802 1785.4020 70.70 3.45
Mongolia Asia 1997 63.62500 2494803 1902.2521 56.60 2.43
Mongolia Asia 2002 65.03300 2674234 2140.7393 42.50 2.09
Mongolia Asia 2007 66.80300 2874127 3095.7723 30.60 2.32
Montenegro Europe 1952 59.16400 413834 2647.5856 NA NA
Montenegro Europe 1957 61.44800 442829 3682.2599 NA NA
Montenegro Europe 1962 63.72800 474528 4649.5938 NA 3.31
Montenegro Europe 1967 67.17800 501035 5907.8509 NA 2.83
Montenegro Europe 1972 70.63600 527678 7778.4140 NA 2.63
Montenegro Europe 1977 73.06600 560073 9595.9299 NA 2.40
Montenegro Europe 1982 74.10100 562548 11222.5876 NA 2.19
Montenegro Europe 1987 74.86500 569473 11732.5102 18.20 1.98
Montenegro Europe 1992 75.43500 621621 7003.3390 14.00 1.83
Montenegro Europe 1997 75.44500 692651 6465.6133 13.50 1.82
Montenegro Europe 2002 73.98100 720230 6557.1943 11.50 1.79
Montenegro Europe 2007 74.54300 684736 9253.8961 8.20 1.73
Morocco Africa 1952 42.87300 9939217 1688.2036 NA NA
Morocco Africa 1957 45.42300 11406350 1642.0023 NA NA
Morocco Africa 1962 47.92400 13056604 1566.3535 140.40 7.13
Morocco Africa 1967 50.33500 14770296 1711.0448 127.90 6.95
Morocco Africa 1972 52.86200 16660670 1930.1950 116.80 6.49
Morocco Africa 1977 55.73000 18396941 2370.6200 104.00 5.97
Morocco Africa 1982 59.65000 20198730 2702.6204 87.30 5.44
Morocco Africa 1987 62.67700 22987397 2755.0470 71.00 4.57
Morocco Africa 1992 65.39300 25798239 2948.0473 58.50 3.76
Morocco Africa 1997 67.66000 28529501 2982.1019 47.70 3.03
Morocco Africa 2002 69.61500 31167783 3258.4956 38.90 2.54
Morocco Africa 2007 71.16400 33757175 3820.1752 31.90 2.40
Mozambique Africa 1952 31.28600 6446316 468.5260 NA NA
Mozambique Africa 1957 33.77900 7038035 495.5868 NA NA
Mozambique Africa 1962 36.16100 7788944 556.6864 NA 6.60
Mozambique Africa 1967 38.11300 8680909 566.6692 184.10 6.60
Mozambique Africa 1972 40.32800 9809596 724.9178 180.50 6.58
Mozambique Africa 1977 42.49500 11127868 502.3197 176.40 6.53
Mozambique Africa 1982 42.79500 12587223 462.2114 173.30 6.46
Mozambique Africa 1987 42.86100 12891952 389.8762 165.70 6.35
Mozambique Africa 1992 44.28400 13160731 410.8968 154.70 6.14
Mozambique Africa 1997 46.34400 16603334 472.3461 132.70 5.88
Mozambique Africa 2002 44.02600 18473780 633.6179 104.00 5.74
Mozambique Africa 2007 42.08200 19951656 823.6856 81.50 5.59
Myanmar Asia 1952 36.31900 20092996 331.0000 NA NA
Myanmar Asia 1957 41.90500 21731844 350.0000 NA NA
Myanmar Asia 1962 45.10800 23634436 388.0000 NA NA
Myanmar Asia 1967 49.37900 25870271 349.0000 NA NA
Myanmar Asia 1972 53.07000 28466390 357.0000 NA NA
Myanmar Asia 1977 56.05900 31528087 371.0000 NA NA
Myanmar Asia 1982 58.05600 34680442 424.0000 NA NA
Myanmar Asia 1987 58.33900 38028578 385.0000 NA NA
Myanmar Asia 1992 59.32000 40546538 347.0000 NA NA
Myanmar Asia 1997 60.32800 43247867 415.0000 NA NA
Myanmar Asia 2002 59.90800 45598081 611.0000 NA NA
Myanmar Asia 2007 62.06900 47761980 944.0000 NA NA
Namibia Africa 1952 41.72500 485831 2423.7804 NA NA
Namibia Africa 1957 45.22600 548080 2621.4481 NA NA
Namibia Africa 1962 48.38600 621392 3173.2156 NA 6.18
Namibia Africa 1967 51.15900 706640 3793.6948 62.30 6.30
Namibia Africa 1972 53.86700 821782 3746.0809 62.90 6.57
Namibia Africa 1977 56.43700 977026 3876.4860 63.70 6.62
Namibia Africa 1982 58.96800 1099010 4191.1005 61.50 6.26
Namibia Africa 1987 60.83500 1278184 3693.7313 53.80 5.63
Namibia Africa 1992 61.99900 1554253 3804.5380 47.80 4.97
Namibia Africa 1997 58.90900 1774766 3899.5243 48.40 4.35
Namibia Africa 2002 51.47900 1972153 4072.3248 48.70 3.85
Namibia Africa 2007 52.90600 2055080 4811.0604 42.70 3.44
Nepal Asia 1952 36.15700 9182536 545.8657 NA NA
Nepal Asia 1957 37.68600 9682338 597.9364 NA NA
Nepal Asia 1962 39.39300 10332057 652.3969 213.30 6.00
Nepal Asia 1967 41.47200 11261690 676.4422 191.30 5.99
Nepal Asia 1972 43.97100 12412593 674.7881 170.90 5.95
Nepal Asia 1977 46.74800 13933198 694.1124 152.30 5.85
Nepal Asia 1982 49.59400 15796314 718.3731 132.10 5.68
Nepal Asia 1987 52.53700 17917180 775.6325 111.10 5.38
Nepal Asia 1992 55.72700 20326209 897.7404 88.90 5.00
Nepal Asia 1997 59.42600 23001113 1010.8921 69.60 4.47
Nepal Asia 2002 61.34000 25873917 1057.2063 53.80 3.78
Nepal Asia 2007 63.78500 28901790 1091.3598 42.00 3.05
Netherlands Europe 1952 72.13000 10381988 8941.5719 NA NA
Netherlands Europe 1957 72.99000 11026383 11276.1934 NA NA
Netherlands Europe 1962 73.23000 11805689 12790.8496 15.60 3.18
Netherlands Europe 1967 73.82000 12596822 15363.2514 13.80 2.81
Netherlands Europe 1972 73.75000 13329874 18794.7457 11.70 2.15
Netherlands Europe 1977 75.24000 13852989 21209.0592 9.70 1.58
Netherlands Europe 1982 76.05000 14310401 21399.4605 8.40 1.50
Netherlands Europe 1987 76.83000 14665278 23651.3236 7.50 1.56
Netherlands Europe 1992 77.42000 15174244 26790.9496 6.30 1.59
Netherlands Europe 1997 78.03000 15604464 30246.1306 5.30 1.56
Netherlands Europe 2002 78.53000 16122830 33724.7578 4.90 1.73
Netherlands Europe 2007 79.76200 16570613 36797.9333 4.20 1.72
New Zealand Oceania 1952 69.39000 1994794 10556.5757 NA NA
New Zealand Oceania 1957 70.26000 2229407 12247.3953 NA NA
New Zealand Oceania 1962 71.24000 2488550 13175.6780 20.90 3.51
New Zealand Oceania 1967 71.52000 2728150 14463.9189 17.90 3.00
New Zealand Oceania 1972 71.89000 2929100 16046.0373 16.20 2.90
New Zealand Oceania 1977 72.22000 3164900 16233.7177 13.90 2.32
New Zealand Oceania 1982 73.84000 3210650 17632.4104 12.10 2.10
New Zealand Oceania 1987 74.32000 3317166 19007.1913 10.60 2.24
New Zealand Oceania 1992 76.33000 3437674 18363.3249 8.20 2.31
New Zealand Oceania 1997 77.55000 3676187 21050.4138 6.60 2.05
New Zealand Oceania 2002 79.11000 3908037 23189.8014 5.80 1.95
New Zealand Oceania 2007 80.20400 4115771 25185.0091 5.30 2.11
Nicaragua Americas 1952 42.31400 1165790 3112.3639 NA NA
Nicaragua Americas 1957 45.43200 1358828 3457.4159 NA NA
Nicaragua Americas 1962 48.63200 1590597 3634.3644 131.10 7.18
Nicaragua Americas 1967 51.88400 1865490 4643.3935 123.10 6.96
Nicaragua Americas 1972 55.15100 2182908 4688.5933 111.20 6.81
Nicaragua Americas 1977 57.47000 2554598 5486.3711 91.30 6.42
Nicaragua Americas 1982 59.29800 2979423 3470.3382 69.90 5.89
Nicaragua Americas 1987 62.00800 3344353 2955.9844 56.50 5.12
Nicaragua Americas 1992 65.84300 4017939 2170.1517 47.10 4.52
Nicaragua Americas 1997 68.42600 4609572 2253.0230 37.60 3.70
Nicaragua Americas 2002 70.83600 5146848 2474.5488 29.80 3.05
Nicaragua Americas 2007 72.89900 5675356 2749.3210 24.40 2.76
Niger Africa 1952 37.44400 3379468 761.8794 NA NA
Niger Africa 1957 38.59800 3692184 835.5234 NA NA
Niger Africa 1962 39.48700 4076008 997.7661 NA 7.12
Niger Africa 1967 40.11800 4534062 1054.3849 133.10 7.30
Niger Africa 1972 40.54600 5060262 954.2092 140.40 7.50
Niger Africa 1977 41.29100 5682086 808.8971 138.90 7.63
Niger Africa 1982 42.59800 6437188 909.7221 135.30 7.75
Niger Africa 1987 44.55500 7332638 668.3000 141.40 7.77
Niger Africa 1992 47.39100 8392818 581.1827 132.60 7.77
Niger Africa 1997 51.31300 9666252 580.3052 111.30 7.77
Niger Africa 2002 54.49600 11140655 601.0745 94.10 7.68
Niger Africa 2007 56.86700 12894865 619.6769 75.20 7.59
Nigeria Africa 1952 36.32400 33119096 1077.2819 NA NA
Nigeria Africa 1957 37.80200 37173340 1100.5926 NA NA
Nigeria Africa 1962 39.36000 41871351 1150.9275 182.60 6.35
Nigeria Africa 1967 41.04000 47287752 1014.5141 182.60 6.36
Nigeria Africa 1972 42.82100 53740085 1698.3888 159.20 6.58
Nigeria Africa 1977 44.51400 62209173 1981.9518 135.80 6.76
Nigeria Africa 1982 45.82600 73039376 1576.9738 124.40 6.77
Nigeria Africa 1987 46.88600 81551520 1385.0296 125.40 6.63
Nigeria Africa 1992 47.47200 93364244 1619.8482 125.50 6.40
Nigeria Africa 1997 47.46400 106207839 1624.9413 119.90 6.19
Nigeria Africa 2002 46.60800 119901274 1615.2864 105.90 6.06
Nigeria Africa 2007 46.85900 135031164 2013.9773 90.30 6.02
Norway Europe 1952 72.67000 3327728 10095.4217 NA NA
Norway Europe 1957 73.44000 3491938 11653.9730 NA NA
Norway Europe 1962 73.47000 3638919 13450.4015 17.50 2.89
Norway Europe 1967 74.08000 3786019 16361.8765 14.80 2.80
Norway Europe 1972 74.34000 3933004 18965.0555 12.20 2.38
Norway Europe 1977 75.37000 4043205 23311.3494 9.30 1.75
Norway Europe 1982 75.97000 4114787 26298.6353 8.00 1.71
Norway Europe 1987 75.89000 4186147 31540.9748 8.20 1.75
Norway Europe 1992 77.32000 4286357 33965.6611 5.80 1.88
Norway Europe 1997 78.32000 4405672 41283.1643 4.20 1.86
Norway Europe 2002 79.05000 4535591 44683.9753 3.60 1.75
Norway Europe 2007 80.19600 4627926 49357.1902 3.00 1.90
Oman Asia 1952 37.57800 507833 1828.2303 NA NA
Oman Asia 1957 40.08000 561977 2242.7466 NA NA
Oman Asia 1962 43.16500 628164 2924.6381 226.00 7.25
Oman Asia 1967 46.98800 714775 4720.9427 178.50 7.28
Oman Asia 1972 52.14300 829050 10618.0385 136.10 7.41
Oman Asia 1977 57.36700 1004533 11848.3439 100.10 8.02
Oman Asia 1982 62.72800 1301048 12954.7910 66.60 8.35
Oman Asia 1987 67.73400 1593882 18115.2231 41.80 7.93
Oman Asia 1992 71.19700 1915208 18616.7069 26.80 6.47
Oman Asia 1997 72.49900 2283635 19702.0558 17.70 4.63
Oman Asia 2002 74.19300 2713462 19774.8369 12.50 3.30
Oman Asia 2007 75.64000 3204897 22316.1929 10.40 2.89
Pakistan Asia 1952 43.43600 41346560 684.5971 NA NA
Pakistan Asia 1957 45.55700 46679944 747.0835 NA NA
Pakistan Asia 1962 47.67000 53100671 803.3427 178.00 6.60
Pakistan Asia 1967 49.80000 60641899 942.4083 151.50 6.60
Pakistan Asia 1972 51.92900 69325921 1049.9390 135.70 6.61
Pakistan Asia 1977 54.04300 78152686 1175.9212 126.10 6.60
Pakistan Asia 1982 56.15800 91462088 1443.4298 119.40 6.48
Pakistan Asia 1987 58.24500 105186881 1704.6866 111.40 6.31
Pakistan Asia 1992 60.83800 120065004 1971.8295 102.50 5.77
Pakistan Asia 1997 61.81800 135564834 2049.3505 93.30 5.04
Pakistan Asia 2002 63.61000 153403524 2092.7124 84.40 4.13
Pakistan Asia 2007 65.48300 169270617 2605.9476 77.40 3.65
Panama Americas 1952 55.19100 940080 2480.3803 NA NA
Panama Americas 1957 59.20100 1063506 2961.8009 NA NA
Panama Americas 1962 61.81700 1215725 3536.5403 63.60 5.81
Panama Americas 1967 64.07100 1405486 4421.0091 56.20 5.47
Panama Americas 1972 66.21600 1616384 5364.2497 47.40 4.94
Panama Americas 1977 68.68100 1839782 5351.9121 39.00 4.26
Panama Americas 1982 70.47200 2036305 7009.6016 33.40 3.67
Panama Americas 1987 71.52300 2253639 7034.7792 28.10 3.26
Panama Americas 1992 72.46200 2484997 6618.7431 24.60 2.98
Panama Americas 1997 73.73800 2734531 7113.6923 23.00 2.87
Panama Americas 2002 74.71200 2990875 7356.0319 20.90 2.78
Panama Americas 2007 75.53700 3242173 9809.1856 18.50 2.64
Paraguay Americas 1952 62.64900 1555876 1952.3087 NA NA
Paraguay Americas 1957 63.19600 1770902 2046.1547 NA NA
Paraguay Americas 1962 64.36100 2009813 2148.0271 61.40 6.47
Paraguay Americas 1967 64.95100 2287985 2299.3763 59.30 6.17
Paraguay Americas 1972 65.81500 2614104 2523.3380 56.80 5.46
Paraguay Americas 1977 66.35300 2984494 3248.3733 52.60 5.20
Paraguay Americas 1982 66.87400 3366439 4258.5036 47.00 5.19
Paraguay Americas 1987 67.37800 3886512 3998.8757 40.70 4.84
Paraguay Americas 1992 68.22500 4483945 4196.4111 34.80 4.36
Paraguay Americas 1997 69.40000 5154123 4247.4003 30.10 3.92
Paraguay Americas 2002 70.75500 5884491 3783.6742 26.10 3.51
Paraguay Americas 2007 71.75200 6667147 4172.8385 22.40 3.12
Peru Americas 1952 43.90200 8025700 3758.5234 NA NA
Peru Americas 1957 46.26300 9146100 4245.2567 NA NA
Peru Americas 1962 49.09600 10516500 4957.0380 129.10 6.86
Peru Americas 1967 51.44500 12132200 5788.0933 111.60 6.61
Peru Americas 1972 55.44800 13954700 5937.8273 98.30 6.07
Peru Americas 1977 58.44700 15990099 6281.2909 87.00 5.44
Peru Americas 1982 61.40600 18125129 6434.5018 78.70 4.73
Peru Americas 1987 64.13400 20195924 6360.9434 64.60 4.14
Peru Americas 1992 66.45800 22430449 4446.3809 51.00 3.62
Peru Americas 1997 68.38600 24748122 5838.3477 36.90 3.14
Peru Americas 2002 69.90600 26769436 5909.0201 25.70 2.82
Peru Americas 2007 71.42100 28674757 7408.9056 19.00 2.61
Philippines Asia 1952 47.75200 22438691 1272.8810 NA NA
Philippines Asia 1957 51.33400 26072194 1547.9448 NA NA
Philippines Asia 1962 54.75700 30325264 1649.5522 64.20 7.02
Philippines Asia 1967 56.39300 35356600 1814.1274 58.00 6.59
Philippines Asia 1972 58.06500 40850141 1989.3741 54.70 6.04
Philippines Asia 1977 60.06000 46850962 2373.2043 54.20 5.51
Philippines Asia 1982 62.08200 53456774 2603.2738 52.30 4.98
Philippines Asia 1987 64.15100 60017788 2189.6350 46.70 4.55
Philippines Asia 1992 66.45800 67185766 2279.3240 37.30 4.18
Philippines Asia 1997 68.56400 75012988 2536.5349 31.80 3.92
Philippines Asia 2002 70.30300 82995088 2650.9211 28.90 3.71
Philippines Asia 2007 71.68800 91077287 3190.4810 26.40 3.33
Poland Europe 1952 61.31000 25730551 4029.3297 NA NA
Poland Europe 1957 65.77000 28235346 4734.2530 NA NA
Poland Europe 1962 67.64000 30329617 5338.7521 49.60 2.72
Poland Europe 1967 69.61000 31785378 6557.1528 35.70 2.30
Poland Europe 1972 70.85000 33039545 8006.5070 28.80 2.23
Poland Europe 1977 70.67000 34621254 9508.1415 23.30 2.27
Poland Europe 1982 71.32000 36227381 8451.5310 20.00 2.32
Poland Europe 1987 70.98000 37740710 9082.3512 16.60 2.19
Poland Europe 1992 70.99000 38370697 7738.8812 14.30 1.91
Poland Europe 1997 72.75000 38654957 10159.5837 10.40 1.52
Poland Europe 2002 74.67000 38625976 12002.2391 7.30 1.28
Poland Europe 2007 75.56300 38518241 15389.9247 6.00 1.31
Portugal Europe 1952 59.82000 8526050 3068.3199 NA NA
Portugal Europe 1957 61.51000 8817650 3774.5717 NA NA
Portugal Europe 1962 64.39000 9019800 4727.9549 78.70 3.19
Portugal Europe 1967 66.60000 9103000 6361.5180 61.70 3.13
Portugal Europe 1972 69.26000 8970450 9022.2474 47.60 2.88
Portugal Europe 1977 70.41000 9662600 10172.4857 29.50 2.57
Portugal Europe 1982 72.77000 9859650 11753.8429 19.90 2.07
Portugal Europe 1987 74.06000 9915289 13039.3088 14.50 1.65
Portugal Europe 1992 74.86000 9927680 16207.2666 9.70 1.50
Portugal Europe 1997 75.97000 10156415 17641.0316 6.60 1.48
Portugal Europe 2002 77.29000 10433867 19970.9079 4.70 1.45
Portugal Europe 2007 78.09800 10642836 20509.6478 3.30 1.37
Puerto Rico Americas 1952 64.28000 2227000 3081.9598 NA NA
Puerto Rico Americas 1957 68.54000 2260000 3907.1562 NA NA
Puerto Rico Americas 1962 69.62000 2448046 5108.3446 NA 4.41
Puerto Rico Americas 1967 71.10000 2648961 6929.2777 NA 3.53
Puerto Rico Americas 1972 72.16000 2847132 9123.0417 NA 3.01
Puerto Rico Americas 1977 73.44000 3080828 9770.5249 NA 2.77
Puerto Rico Americas 1982 73.75000 3279001 10330.9891 NA 2.49
Puerto Rico Americas 1987 74.63000 3444468 12281.3419 NA 2.28
Puerto Rico Americas 1992 73.91100 3585176 14641.5871 NA 2.18
Puerto Rico Americas 1997 74.91700 3759430 16999.4333 NA 2.01
Puerto Rico Americas 2002 77.77800 3859606 18855.6062 NA 1.83
Puerto Rico Americas 2007 78.74600 3942491 19328.7090 NA 1.71
Reunion Africa 1952 52.72400 257700 2718.8853 NA NA
Reunion Africa 1957 55.09000 308700 2769.4518 NA NA
Reunion Africa 1962 57.66600 358900 3173.7233 NA NA
Reunion Africa 1967 60.54200 414024 4021.1757 NA NA
Reunion Africa 1972 64.27400 461633 5047.6586 NA NA
Reunion Africa 1977 67.06400 492095 4319.8041 NA NA
Reunion Africa 1982 69.88500 517810 5267.2194 NA NA
Reunion Africa 1987 71.91300 562035 5303.3775 NA NA
Reunion Africa 1992 73.61500 622191 6101.2558 NA NA
Reunion Africa 1997 74.77200 684810 6071.9414 NA NA
Reunion Africa 2002 75.74400 743981 6316.1652 NA NA
Reunion Africa 2007 76.44200 798094 7670.1226 NA NA
Romania Europe 1952 61.05000 16630000 3144.6132 NA NA
Romania Europe 1957 64.10000 17829327 3943.3702 NA NA
Romania Europe 1962 66.80000 18680721 4734.9976 NA 2.02
Romania Europe 1967 66.80000 19284814 6470.8665 NA 3.65
Romania Europe 1972 69.21000 20662648 8011.4144 50.10 2.53
Romania Europe 1977 69.46000 21658597 9356.3972 39.30 2.58
Romania Europe 1982 69.66000 22356726 9605.3141 32.50 2.16
Romania Europe 1987 69.53000 22686371 9696.2733 32.60 2.41
Romania Europe 1992 69.36000 22797027 6598.4099 29.10 1.49
Romania Europe 1997 69.72000 22562458 7346.5476 26.00 1.30
Romania Europe 2002 71.32200 22404337 7885.3601 21.60 1.27
Romania Europe 2007 72.47600 22276056 10808.4756 15.30 1.33
Rwanda Africa 1952 40.00000 2534927 493.3239 NA NA
Rwanda Africa 1957 41.50000 2822082 540.2894 NA NA
Rwanda Africa 1962 43.00000 3051242 597.4731 123.40 8.20
Rwanda Africa 1967 44.10000 3451079 510.9637 124.00 8.20
Rwanda Africa 1972 44.60000 3992121 590.5807 134.10 8.28
Rwanda Africa 1977 45.00000 4657072 670.0806 148.00 8.42
Rwanda Africa 1982 46.21800 5507565 881.5706 111.80 8.42
Rwanda Africa 1987 44.02000 6349365 847.9912 93.10 8.00
Rwanda Africa 1992 23.59900 7290203 737.0686 101.30 6.77
Rwanda Africa 1997 36.08700 7212583 589.9445 121.70 6.16
Rwanda Africa 2002 43.41300 7852401 785.6538 94.10 5.67
Rwanda Africa 2007 46.24200 8860588 863.0885 56.80 5.17
Sao Tome and Principe Africa 1952 46.47100 60011 879.5836 NA NA
Sao Tome and Principe Africa 1957 48.94500 61325 860.7369 NA NA
Sao Tome and Principe Africa 1962 51.89300 65345 1071.5511 NA NA
Sao Tome and Principe Africa 1967 54.42500 70787 1384.8406 NA NA
Sao Tome and Principe Africa 1972 56.48000 76595 1532.9853 NA NA
Sao Tome and Principe Africa 1977 58.55000 86796 1737.5617 NA NA
Sao Tome and Principe Africa 1982 60.35100 98593 1890.2181 NA NA
Sao Tome and Principe Africa 1987 61.72800 110812 1516.5255 NA NA
Sao Tome and Principe Africa 1992 62.74200 125911 1428.7778 NA NA
Sao Tome and Principe Africa 1997 63.30600 145608 1339.0760 NA NA
Sao Tome and Principe Africa 2002 64.33700 170372 1353.0924 NA NA
Sao Tome and Principe Africa 2007 65.52800 199579 1598.4351 NA NA
Saudi Arabia Asia 1952 39.87500 4005677 6459.5548 NA NA
Saudi Arabia Asia 1957 42.86800 4419650 8157.5912 NA NA
Saudi Arabia Asia 1962 45.91400 4943029 11626.4197 NA 7.24
Saudi Arabia Asia 1967 49.90100 5618198 16903.0489 NA 7.26
Saudi Arabia Asia 1972 53.88600 6472756 24837.4287 110.30 7.30
Saudi Arabia Asia 1977 58.69000 8128505 34167.7626 83.40 7.30
Saudi Arabia Asia 1982 63.01200 11254672 33693.1753 63.10 7.05
Saudi Arabia Asia 1987 66.29500 14619745 21198.2614 45.20 6.33
Saudi Arabia Asia 1992 68.76800 16945857 24841.6178 30.30 5.52
Saudi Arabia Asia 1997 70.53300 21229759 20586.6902 22.10 4.59
Saudi Arabia Asia 2002 71.62600 24501530 19014.5412 18.20 3.63
Saudi Arabia Asia 2007 72.77700 27601038 21654.8319 16.00 3.05
Senegal Africa 1952 37.27800 2755589 1450.3570 NA NA
Senegal Africa 1957 39.32900 3054547 1567.6530 NA NA
Senegal Africa 1962 41.45400 3430243 1654.9887 126.00 7.04
Senegal Africa 1967 43.56300 3965841 1612.4046 124.70 7.23
Senegal Africa 1972 45.81500 4588696 1597.7121 117.50 7.41
Senegal Africa 1977 48.87900 5260855 1561.7691 100.70 7.46
Senegal Africa 1982 52.37900 6147783 1518.4800 87.40 7.28
Senegal Africa 1987 55.76900 7171347 1441.7207 75.50 6.93
Senegal Africa 1992 58.19600 8307920 1367.8994 69.60 6.40
Senegal Africa 1997 60.18700 9535314 1392.3683 71.20 5.84
Senegal Africa 2002 61.60000 10870037 1519.6353 63.90 5.41
Senegal Africa 2007 63.06200 12267493 1712.4721 51.90 5.14
Serbia Europe 1952 57.99600 6860147 3581.4594 NA NA
Serbia Europe 1957 61.68500 7271135 4981.0909 NA NA
Serbia Europe 1962 64.53100 7616060 6289.6292 NA 2.57
Serbia Europe 1967 66.91400 7971222 7991.7071 NA 2.44
Serbia Europe 1972 68.70000 8313288 10522.0675 NA 2.37
Serbia Europe 1977 70.30000 8686367 12980.6696 NA 2.37
Serbia Europe 1982 70.16200 9032824 15181.0927 NA 2.33
Serbia Europe 1987 71.21800 9230783 15870.8785 31.10 2.24
Serbia Europe 1992 71.65900 9826397 9325.0682 20.90 2.00
Serbia Europe 1997 72.23200 10336594 7914.3203 13.30 1.76
Serbia Europe 2002 73.21300 10111559 7236.0753 10.10 1.57
Serbia Europe 2007 74.00200 10150265 9786.5347 7.10 1.42
Sierra Leone Africa 1952 30.33100 2143249 879.7877 NA NA
Sierra Leone Africa 1957 31.57000 2295678 1004.4844 NA NA
Sierra Leone Africa 1962 32.76700 2467895 1116.6399 217.50 6.16
Sierra Leone Africa 1967 34.11300 2662190 1206.0435 200.80 6.52
Sierra Leone Africa 1972 35.40000 2879013 1353.7598 185.20 6.80
Sierra Leone Africa 1977 36.78800 3140897 1348.2852 173.20 7.01
Sierra Leone Africa 1982 38.44500 3464522 1465.0108 164.10 7.03
Sierra Leone Africa 1987 40.00600 3868905 1294.4478 158.30 6.75
Sierra Leone Africa 1992 38.33300 4260884 1068.6963 155.70 6.39
Sierra Leone Africa 1997 39.89700 4578212 574.6482 150.10 6.10
Sierra Leone Africa 2002 41.01200 5359092 699.4897 137.70 5.76
Sierra Leone Africa 2007 42.56800 6144562 862.5408 120.50 5.23
Singapore Asia 1952 60.39600 1127000 2315.1382 NA NA
Singapore Asia 1957 63.17900 1445929 2843.1044 NA NA
Singapore Asia 1962 65.79800 1750200 3674.7356 30.80 5.27
Singapore Asia 1967 67.94600 1977600 4977.4185 25.30 3.82
Singapore Asia 1972 69.52100 2152400 8597.7562 19.60 2.84
Singapore Asia 1977 70.79500 2325300 11210.0895 12.30 1.95
Singapore Asia 1982 71.76000 2651869 15169.1611 10.70 1.74
Singapore Asia 1987 73.56000 2794552 18861.5308 7.90 1.62
Singapore Asia 1992 75.78800 3235865 24769.8912 5.00 1.72
Singapore Asia 1997 77.15800 3802309 33519.4766 3.80 1.61
Singapore Asia 2002 78.77000 4197776 36023.1054 2.60 1.37
Singapore Asia 2007 79.97200 4553009 47143.1796 2.30 1.29
Slovak Republic Europe 1952 64.36000 3558137 5074.6591 NA NA
Slovak Republic Europe 1957 67.45000 3844277 6093.2630 NA NA
Slovak Republic Europe 1962 70.33000 4237384 7481.1076 NA 2.94
Slovak Republic Europe 1967 70.98000 4442238 8412.9024 NA 2.58
Slovak Republic Europe 1972 70.35000 4593433 9674.1676 NA 2.50
Slovak Republic Europe 1977 70.45000 4827803 10922.6640 NA 2.47
Slovak Republic Europe 1982 70.80000 5048043 11348.5459 22.20 2.30
Slovak Republic Europe 1987 71.08000 5199318 12037.2676 17.70 2.17
Slovak Republic Europe 1992 71.38000 5302888 9498.4677 14.30 1.90
Slovak Republic Europe 1997 72.71000 5383010 12126.2306 11.60 1.46
Slovak Republic Europe 2002 73.80000 5410052 13638.7784 9.50 1.23
Slovak Republic Europe 2007 74.66300 5447502 18678.3144 7.80 1.29
Slovenia Europe 1952 65.57000 1489518 4215.0417 NA NA
Slovenia Europe 1957 67.85000 1533070 5862.2766 NA NA
Slovenia Europe 1962 69.15000 1582962 7402.3034 NA 2.33
Slovenia Europe 1967 69.18000 1646912 9405.4894 NA 2.33
Slovenia Europe 1972 69.82000 1694510 12383.4862 NA 2.24
Slovenia Europe 1977 70.97000 1746919 15277.0302 NA 2.17
Slovenia Europe 1982 71.06300 1861252 17866.7218 14.60 1.92
Slovenia Europe 1987 72.25000 1945870 18678.5349 10.80 1.63
Slovenia Europe 1992 73.64000 1999210 14214.7168 7.70 1.38
Slovenia Europe 1997 75.13000 2011612 17161.1073 5.40 1.25
Slovenia Europe 2002 76.66000 2011497 20660.0194 4.10 1.23
Slovenia Europe 2007 77.92600 2009245 25768.2576 3.20 1.40
Somalia Africa 1952 32.97800 2526994 1135.7498 NA NA
Somalia Africa 1957 34.97700 2780415 1258.1474 NA NA
Somalia Africa 1962 36.98100 3080153 1369.4883 NA NA
Somalia Africa 1967 38.97700 3428839 1284.7332 NA NA
Somalia Africa 1972 40.97300 3840161 1254.5761 NA NA
Somalia Africa 1977 41.97400 4353666 1450.9925 NA NA
Somalia Africa 1982 42.95500 5828892 1176.8070 NA NA
Somalia Africa 1987 44.50100 6921858 1093.2450 NA NA
Somalia Africa 1992 39.65800 6099799 926.9603 NA NA
Somalia Africa 1997 43.79500 6633514 930.5964 NA NA
Somalia Africa 2002 45.93600 7753310 882.0818 NA NA
Somalia Africa 2007 48.15900 9118773 926.1411 NA NA
South Africa Africa 1952 45.00900 14264935 4725.2955 NA NA
South Africa Africa 1957 47.98500 16151549 5487.1042 NA NA
South Africa Africa 1962 49.95100 18356657 5768.7297 NA 6.10
South Africa Africa 1967 51.92700 20997321 7114.4780 NA 5.77
South Africa Africa 1972 53.69600 23935810 7765.9626 NA 5.48
South Africa Africa 1977 55.52700 27129932 8028.6514 78.60 5.06
South Africa Africa 1982 58.16100 31140029 8568.2662 62.20 4.60
South Africa Africa 1987 60.83400 35933379 7825.8234 51.40 4.05
South Africa Africa 1992 61.88800 39964159 7225.0693 46.40 3.41
South Africa Africa 1997 60.23600 42835005 7479.1882 50.90 2.98
South Africa Africa 2002 53.36500 44433622 7710.9464 54.70 2.80
South Africa Africa 2007 49.33900 43997828 9269.6578 48.60 2.58
Spain Europe 1952 64.94000 28549870 3834.0347 NA NA
Spain Europe 1957 66.66000 29841614 4564.8024 NA NA
Spain Europe 1962 69.69000 31158061 5693.8439 41.70 2.80
Spain Europe 1967 71.44000 32850275 7993.5123 32.10 2.85
Spain Europe 1972 73.06000 34513161 10638.7513 22.60 2.86
Spain Europe 1977 74.39000 36439000 13236.9212 19.70 2.59
Spain Europe 1982 76.30000 37983310 13926.1700 13.20 1.96
Spain Europe 1987 76.90000 38880702 15764.9831 10.40 1.49
Spain Europe 1992 77.57000 39549438 18603.0645 8.50 1.28
Spain Europe 1997 78.77000 39855442 20445.2990 6.10 1.20
Spain Europe 2002 79.78000 40152517 24835.4717 5.20 1.27
Spain Europe 2007 80.94100 40448191 28821.0637 4.40 1.40
Sri Lanka Asia 1952 57.59300 7982342 1083.5320 NA NA
Sri Lanka Asia 1957 61.45600 9128546 1072.5466 NA NA
Sri Lanka Asia 1962 62.19200 10421936 1074.4720 67.10 5.30
Sri Lanka Asia 1967 64.26600 11737396 1135.5143 57.00 4.73
Sri Lanka Asia 1972 65.04200 13016733 1213.3955 51.90 4.08
Sri Lanka Asia 1977 65.94900 14116836 1348.7757 45.60 3.63
Sri Lanka Asia 1982 68.75700 15410151 1648.0798 34.10 3.22
Sri Lanka Asia 1987 69.01100 16495304 1876.7668 20.50 2.70
Sri Lanka Asia 1992 70.37900 17587060 2153.7392 18.20 2.39
Sri Lanka Asia 1997 70.45700 18698655 2664.4773 16.00 2.25
Sri Lanka Asia 2002 70.81500 19576783 3015.3788 13.20 2.25
Sri Lanka Asia 2007 72.39600 20378239 3970.0954 10.70 2.31
Sudan Africa 1952 38.63500 8504667 1615.9911 NA NA
Sudan Africa 1957 39.62400 9753392 1770.3371 NA NA
Sudan Africa 1962 40.87000 11183227 1959.5938 104.10 6.74
Sudan Africa 1967 42.85800 12716129 1687.9976 97.40 6.85
Sudan Africa 1972 45.08300 14597019 1659.6528 93.40 6.91
Sudan Africa 1977 47.80000 17104986 2202.9884 89.80 6.92
Sudan Africa 1982 50.33800 20367053 1895.5441 86.70 6.67
Sudan Africa 1987 51.74400 24725960 1507.8192 82.80 6.34
Sudan Africa 1992 53.55600 28227588 1492.1970 77.90 6.03
Sudan Africa 1997 55.37300 32160729 1632.2108 72.30 5.67
Sudan Africa 2002 56.36900 37090298 1993.3983 64.60 5.29
Sudan Africa 2007 58.55600 42292929 2602.3950 57.10 4.87
Swaziland Africa 1952 41.40700 290243 1148.3766 NA NA
Swaziland Africa 1957 43.42400 326741 1244.7084 NA NA
Swaziland Africa 1962 44.99200 370006 1856.1821 138.10 6.75
Swaziland Africa 1967 46.63300 420690 2613.1017 126.50 6.84
Swaziland Africa 1972 49.55200 480105 3364.8366 113.40 6.87
Swaziland Africa 1977 52.53700 551425 3781.4106 93.90 6.76
Swaziland Africa 1982 55.56100 649901 3895.3840 76.50 6.57
Swaziland Africa 1987 57.67800 779348 3984.8398 59.40 6.18
Swaziland Africa 1992 58.47400 962344 3553.0224 58.60 5.39
Swaziland Africa 1997 54.28900 1054486 3876.7685 76.00 4.56
Swaziland Africa 2002 43.86900 1130269 4128.1169 85.90 4.05
Swaziland Africa 2007 39.61300 1133066 4513.4806 74.70 3.76
Sweden Europe 1952 71.86000 7124673 8527.8447 NA NA
Sweden Europe 1957 72.49000 7363802 9911.8782 NA NA
Sweden Europe 1962 73.37000 7561588 12329.4419 15.60 2.26
Sweden Europe 1967 74.16000 7867931 15258.2970 12.60 2.27
Sweden Europe 1972 74.72000 8122293 17832.0246 10.40 1.91
Sweden Europe 1977 75.44000 8251648 18855.7252 8.00 1.65
Sweden Europe 1982 76.42000 8325260 20667.3812 6.80 1.63
Sweden Europe 1987 77.19000 8421403 23586.9293 6.20 1.84
Sweden Europe 1992 78.16000 8718867 23880.0168 5.10 2.08
Sweden Europe 1997 79.39000 8897619 25266.5950 3.60 1.53
Sweden Europe 2002 80.04000 8954175 29341.6309 3.30 1.67
Sweden Europe 2007 80.88400 9031088 33859.7484 2.70 1.89
Switzerland Europe 1952 69.62000 4815000 14734.2327 NA NA
Switzerland Europe 1957 70.56000 5126000 17909.4897 NA NA
Switzerland Europe 1962 71.32000 5666000 20431.0927 20.70 2.58
Switzerland Europe 1967 72.77000 6063000 22966.1443 16.90 2.40
Switzerland Europe 1972 73.78000 6401400 27195.1130 13.60 1.92
Switzerland Europe 1977 75.39000 6316424 26982.2905 9.80 1.57
Switzerland Europe 1982 76.21000 6468126 28397.7151 7.80 1.52
Switzerland Europe 1987 77.41000 6649942 30281.7046 7.10 1.55
Switzerland Europe 1992 78.03000 6995447 31871.5303 6.10 1.54
Switzerland Europe 1997 79.37000 7193761 32135.3230 4.90 1.49
Switzerland Europe 2002 80.62000 7361757 34480.9577 4.60 1.42
Switzerland Europe 2007 81.70100 7554661 37506.4191 4.10 1.46
Syria Asia 1952 45.88300 3661549 1643.4854 NA NA
Syria Asia 1957 48.28400 4149908 2117.2349 NA NA
Syria Asia 1962 50.30500 4834621 2193.0371 110.60 7.52
Syria Asia 1967 53.65500 5680812 1881.9236 87.40 7.57
Syria Asia 1972 57.29600 6701172 2571.4230 68.20 7.56
Syria Asia 1977 61.19500 7932503 3195.4846 53.90 7.36
Syria Asia 1982 64.59000 9410494 3761.8377 42.70 6.84
Syria Asia 1987 66.97400 11242847 3116.7743 34.30 5.96
Syria Asia 1992 69.24900 13219062 3340.5428 28.00 4.93
Syria Asia 1997 71.52700 15081016 4014.2390 22.60 4.28
Syria Asia 2002 73.05300 17155814 4090.9253 18.20 3.72
Syria Asia 2007 74.14300 19314747 4184.5481 14.80 3.24
Taiwan Asia 1952 58.50000 8550362 1206.9479 NA NA
Taiwan Asia 1957 62.40000 10164215 1507.8613 NA NA
Taiwan Asia 1962 65.20000 11918938 1822.8790 NA NA
Taiwan Asia 1967 67.50000 13648692 2643.8587 NA NA
Taiwan Asia 1972 69.39000 15226039 4062.5239 NA NA
Taiwan Asia 1977 70.59000 16785196 5596.5198 NA NA
Taiwan Asia 1982 72.16000 18501390 7426.3548 NA NA
Taiwan Asia 1987 73.40000 19757799 11054.5618 NA NA
Taiwan Asia 1992 74.26000 20686918 15215.6579 NA NA
Taiwan Asia 1997 75.25000 21628605 20206.8210 NA NA
Taiwan Asia 2002 76.99000 22454239 23235.4233 NA NA
Taiwan Asia 2007 78.40000 23174294 28718.2768 NA NA
Tanzania Africa 1952 41.21500 8322925 716.6501 NA NA
Tanzania Africa 1957 42.97400 9452826 698.5356 NA NA
Tanzania Africa 1962 44.24600 10863958 722.0038 141.90 6.80
Tanzania Africa 1967 45.75700 12607312 848.2187 133.50 6.79
Tanzania Africa 1972 47.62000 14706593 915.9851 124.00 6.76
Tanzania Africa 1977 49.91900 17129565 962.4923 114.00 6.73
Tanzania Africa 1982 50.60800 19844382 874.2426 107.60 6.58
Tanzania Africa 1987 51.53500 23040630 831.8221 104.20 6.38
Tanzania Africa 1992 50.44000 26605473 825.6825 98.90 6.08
Tanzania Africa 1997 48.46600 30686889 789.1862 91.40 5.78
Tanzania Africa 2002 49.65100 34593779 899.0742 71.40 5.67
Tanzania Africa 2007 52.51700 38139640 1107.4822 51.50 5.59
Thailand Asia 1952 50.84800 21289402 757.7974 NA NA
Thailand Asia 1957 53.63000 25041917 793.5774 NA NA
Thailand Asia 1962 56.06100 29263397 1002.1992 95.80 6.16
Thailand Asia 1967 58.28500 34024249 1295.4607 80.80 6.01
Thailand Asia 1972 60.40500 39276153 1524.3589 65.80 5.18
Thailand Asia 1977 62.49400 44148285 1961.2246 52.90 4.03
Thailand Asia 1982 64.59700 48827160 2393.2198 43.40 3.02
Thailand Asia 1987 66.08400 52910342 2982.6538 35.10 2.35
Thailand Asia 1992 67.29800 56667095 4616.8965 27.30 2.00
Thailand Asia 1997 67.52100 60216677 5852.6255 21.70 1.78
Thailand Asia 2002 68.56400 62806748 5913.1875 17.50 1.62
Thailand Asia 2007 70.61600 65068149 7458.3963 14.00 1.50
Togo Africa 1952 38.59600 1219113 859.8087 NA NA
Togo Africa 1957 41.20800 1357445 925.9083 NA NA
Togo Africa 1962 43.92200 1528098 1067.5348 156.40 6.62
Togo Africa 1967 46.76900 1735550 1477.5968 141.80 6.91
Togo Africa 1972 49.75900 2056351 1649.6602 127.20 7.18
Togo Africa 1977 52.88700 2308582 1532.7770 114.10 7.28
Togo Africa 1982 55.47100 2644765 1344.5780 102.70 7.10
Togo Africa 1987 56.94100 3154264 1202.2014 94.00 6.68
Togo Africa 1992 58.06100 3747553 1034.2989 87.90 6.08
Togo Africa 1997 58.39000 4320890 982.2869 81.20 5.52
Togo Africa 2002 57.56100 4977378 886.2206 72.60 5.17
Togo Africa 2007 58.42000 5701579 882.9699 64.10 4.92
Trinidad and Tobago Americas 1952 59.10000 662850 3023.2719 NA NA
Trinidad and Tobago Americas 1957 61.80000 764900 4100.3934 NA NA
Trinidad and Tobago Americas 1962 64.90000 887498 4997.5240 53.10 5.05
Trinidad and Tobago Americas 1967 65.40000 960155 5621.3685 46.70 3.99
Trinidad and Tobago Americas 1972 65.90000 975199 6619.5514 42.20 3.43
Trinidad and Tobago Americas 1977 68.30000 1039009 7899.5542 37.40 3.27
Trinidad and Tobago Americas 1982 68.83200 1116479 9119.5286 32.30 3.26
Trinidad and Tobago Americas 1987 69.58200 1191336 7388.5978 28.40 2.83
Trinidad and Tobago Americas 1992 69.86200 1183669 7370.9909 26.20 2.23
Trinidad and Tobago Americas 1997 69.46500 1138101 8792.5731 25.50 1.84
Trinidad and Tobago Americas 2002 68.97600 1101832 11460.6002 25.10 1.74
Trinidad and Tobago Americas 2007 69.81900 1056608 18008.5092 22.80 1.79
Tunisia Africa 1952 44.60000 3647735 1468.4756 NA NA
Tunisia Africa 1957 47.10000 3950849 1395.2325 NA NA
Tunisia Africa 1962 49.57900 4286552 1660.3032 178.70 7.12
Tunisia Africa 1967 52.05300 4786986 1932.3602 141.40 6.87
Tunisia Africa 1972 55.60200 5303507 2753.2860 110.90 6.16
Tunisia Africa 1977 59.83700 6005061 3120.8768 83.20 5.71
Tunisia Africa 1982 64.04800 6734098 3560.2332 62.20 5.02
Tunisia Africa 1987 66.89400 7724976 3810.4193 49.50 4.08
Tunisia Africa 1992 70.00100 8523077 4332.7202 41.20 3.19
Tunisia Africa 1997 71.97300 9231669 4876.7986 31.90 2.39
Tunisia Africa 2002 73.04200 9770575 5722.8957 23.30 2.04
Tunisia Africa 2007 73.92300 10276158 7092.9230 17.50 2.04
Turkey Europe 1952 43.58500 22235677 1969.1010 NA NA
Turkey Europe 1957 48.07900 25670939 2218.7543 NA NA
Turkey Europe 1962 52.09800 29788695 2322.8699 157.10 6.18
Turkey Europe 1967 54.33600 33411317 2826.3564 136.60 5.80
Turkey Europe 1972 57.00500 37492953 3450.6964 119.30 5.38
Turkey Europe 1977 59.50700 42404033 4269.1223 101.50 4.74
Turkey Europe 1982 61.03600 47328791 4241.3563 82.60 4.11
Turkey Europe 1987 63.10800 52881328 5089.0437 64.80 3.43
Turkey Europe 1992 66.14600 58179144 5678.3483 50.50 2.91
Turkey Europe 1997 68.83500 63047647 6601.4299 38.50 2.61
Turkey Europe 2002 70.84500 67308928 6508.0857 28.30 2.36
Turkey Europe 2007 71.77700 71158647 8458.2764 20.20 2.17
Uganda Africa 1952 39.97800 5824797 734.7535 NA NA
Uganda Africa 1957 42.57100 6675501 774.3711 NA NA
Uganda Africa 1962 45.34400 7688797 767.2717 127.30 7.04
Uganda Africa 1967 48.05100 8900294 908.9185 117.20 7.11
Uganda Africa 1972 51.01600 10190285 950.7359 113.70 7.11
Uganda Africa 1977 50.35000 11457758 843.7331 123.30 7.10
Uganda Africa 1982 49.84900 12939400 682.2662 125.00 7.10
Uganda Africa 1987 51.50900 15283050 617.7244 114.70 7.10
Uganda Africa 1992 48.82500 18252190 644.1708 106.80 7.07
Uganda Africa 1997 44.57800 21210254 816.5591 98.10 6.97
Uganda Africa 2002 47.81300 24739869 927.7210 81.60 6.77
Uganda Africa 2007 51.54200 29170398 1056.3801 59.20 6.43
United Kingdom Europe 1952 69.18000 50430000 9979.5085 NA NA
United Kingdom Europe 1957 70.42000 51430000 11283.1779 NA NA
United Kingdom Europe 1962 70.76000 53292000 12477.1771 22.00 2.79
United Kingdom Europe 1967 71.36000 54959000 14142.8509 19.10 2.61
United Kingdom Europe 1972 72.01000 56079000 15895.1164 17.20 2.07
United Kingdom Europe 1977 72.76000 56179000 17428.7485 14.10 1.74
United Kingdom Europe 1982 74.04000 56339704 18232.4245 10.80 1.76
United Kingdom Europe 1987 75.00700 56981620 21664.7877 9.20 1.83
United Kingdom Europe 1992 76.42000 57866349 22705.0925 7.00 1.79
United Kingdom Europe 1997 77.21800 58808266 26074.5314 5.80 1.73
United Kingdom Europe 2002 78.47100 59912431 29478.9992 5.30 1.67
United Kingdom Europe 2007 79.42500 60776238 33203.2613 4.90 1.84
United States Americas 1952 68.44000 157553000 13990.4821 NA NA
United States Americas 1957 69.49000 171984000 14847.1271 NA NA
United States Americas 1962 70.21000 186538000 16173.1459 24.90 3.48
United States Americas 1967 70.76000 198712000 19530.3656 22.00 2.56
United States Americas 1972 71.34000 209896000 21806.0359 18.30 2.01
United States Americas 1977 73.38000 220239000 24072.6321 14.50 1.78
United States Americas 1982 74.65000 232187835 25009.5591 11.70 1.81
United States Americas 1987 75.02000 242803533 29884.3504 10.20 1.87
United States Americas 1992 76.09000 256894189 32003.9322 8.80 2.04
United States Americas 1997 76.81000 272911760 35767.4330 7.50 1.97
United States Americas 2002 77.31000 287675526 39097.0995 6.90 2.02
United States Americas 2007 78.24200 301139947 42951.6531 6.60 2.12
Uruguay Americas 1952 66.07100 2252965 5716.7667 NA NA
Uruguay Americas 1957 67.04400 2424959 6150.7730 NA NA
Uruguay Americas 1962 68.25300 2598466 5603.3577 54.90 2.89
Uruguay Americas 1967 68.46800 2748579 5444.6196 51.20 2.83
Uruguay Americas 1972 68.67300 2829526 5703.4089 47.80 2.97
Uruguay Americas 1977 69.48100 2873520 6504.3397 46.50 2.91
Uruguay Americas 1982 70.80500 2953997 6920.2231 29.40 2.61
Uruguay Americas 1987 71.91800 3045153 7452.3990 23.20 2.52
Uruguay Americas 1992 72.75200 3149262 8137.0048 19.10 2.49
Uruguay Americas 1997 74.22300 3262838 9230.2407 16.80 2.33
Uruguay Americas 2002 75.30700 3363085 7727.0020 13.70 2.21
Uruguay Americas 2007 76.38400 3447496 10611.4630 11.50 2.12
Venezuela Americas 1952 55.08800 5439568 7689.7998 NA NA
Venezuela Americas 1957 57.90700 6702668 9802.4665 NA NA
Venezuela Americas 1962 60.77000 8143375 8422.9742 56.60 6.63
Venezuela Americas 1967 63.47900 9709552 9541.4742 51.30 6.01
Venezuela Americas 1972 65.71200 11515649 10505.2597 45.50 5.05
Venezuela Americas 1977 67.45600 13503563 13143.9510 39.20 4.48
Venezuela Americas 1982 68.55700 15620766 11152.4101 32.70 4.01
Venezuela Americas 1987 70.19000 17910182 9883.5846 27.60 3.67
Venezuela Americas 1992 71.15000 20265563 10733.9263 23.30 3.29
Venezuela Americas 1997 72.14600 22374398 10165.4952 20.80 2.97
Venezuela Americas 2002 72.76600 24287670 8605.0478 17.40 2.74
Venezuela Americas 2007 73.74700 26084662 11415.8057 15.00 2.56
Vietnam Asia 1952 40.41200 26246839 605.0665 NA NA
Vietnam Asia 1957 42.88700 28998543 676.2854 NA NA
Vietnam Asia 1962 45.36300 33796140 772.0492 69.90 6.43
Vietnam Asia 1967 47.83800 39463910 637.1233 59.00 6.49
Vietnam Asia 1972 50.25400 44655014 699.5016 54.70 6.35
Vietnam Asia 1977 55.76400 50533506 713.5371 49.80 5.61
Vietnam Asia 1982 58.81600 56142181 707.2358 44.80 4.69
Vietnam Asia 1987 62.82000 62826491 820.7994 40.00 3.93
Vietnam Asia 1992 67.66200 69940728 989.0231 34.30 3.26
Vietnam Asia 1997 70.67200 76048996 1385.8968 28.90 2.31
Vietnam Asia 2002 73.01700 80908147 1764.4567 24.60 1.92
Vietnam Asia 2007 74.24900 85262356 2441.5764 21.40 1.88
West Bank and Gaza Asia 1952 43.16000 1030585 1515.5923 NA NA
West Bank and Gaza Asia 1957 45.67100 1070439 1827.0677 NA NA
West Bank and Gaza Asia 1962 48.12700 1133134 2198.9563 NA 7.91
West Bank and Gaza Asia 1967 51.63100 1142636 2649.7150 NA 8.02
West Bank and Gaza Asia 1972 56.53200 1089572 3133.4093 NA 7.75
West Bank and Gaza Asia 1977 60.76500 1261091 3682.8315 69.80 7.52
West Bank and Gaza Asia 1982 64.40600 1425876 4336.0321 53.30 7.08
West Bank and Gaza Asia 1987 67.04600 1691210 5107.1974 41.10 6.54
West Bank and Gaza Asia 1992 69.71800 2104779 6017.6548 32.70 6.54
West Bank and Gaza Asia 1997 71.09600 2826046 7110.6676 27.30 5.93
West Bank and Gaza Asia 2002 72.37000 3389578 4515.4876 23.60 5.10
West Bank and Gaza Asia 2007 73.42200 4018332 3025.3498 21.30 4.48
Yemen, Rep.  Asia 1952 32.54800 4963829 781.7176 NA NA
Yemen, Rep.  Asia 1957 33.97000 5498090 804.8305 NA NA
Yemen, Rep.  Asia 1962 35.18000 6120081 825.6232 NA NA
Yemen, Rep.  Asia 1967 36.98400 6740785 862.4421 NA NA
Yemen, Rep.  Asia 1972 39.84800 7407075 1265.0470 NA NA
Yemen, Rep.  Asia 1977 44.17500 8403990 1829.7652 NA NA
Yemen, Rep.  Asia 1982 49.11300 9657618 1977.5570 NA NA
Yemen, Rep.  Asia 1987 52.92200 11219340 1971.7415 NA NA
Yemen, Rep.  Asia 1992 55.59900 13367997 1879.4967 NA NA
Yemen, Rep.  Asia 1997 58.02000 15826497 2117.4845 NA NA
Yemen, Rep.  Asia 2002 60.30800 18701257 2234.8208 NA NA
Yemen, Rep.  Asia 2007 62.69800 22211743 2280.7699 NA NA
Zambia Africa 1952 42.03800 2672000 1147.3888 NA NA
Zambia Africa 1957 44.07700 3016000 1311.9568 NA NA
Zambia Africa 1962 46.02300 3421000 1452.7258 118.70 7.13
Zambia Africa 1967 47.76800 3900000 1777.0773 112.90 7.38
Zambia Africa 1972 50.10700 4506497 1773.4983 103.70 7.45
Zambia Africa 1977 51.38600 5216550 1588.6883 95.10 7.38
Zambia Africa 1982 51.82100 6100407 1408.6786 98.30 7.02
Zambia Africa 1987 50.82100 7272406 1213.3151 110.60 6.67
Zambia Africa 1992 46.10000 8381163 1210.8846 112.40 6.34
Zambia Africa 1997 40.23800 9417789 1071.3538 104.60 6.15
Zambia Africa 2002 39.19300 10595811 1071.6139 86.50 6.02
Zambia Africa 2007 42.38400 11746035 1271.2116 61.30 5.91
Zimbabwe Africa 1952 48.45100 3080907 406.8841 NA NA
Zimbabwe Africa 1957 50.46900 3646340 518.7643 NA NA
Zimbabwe Africa 1962 52.35800 4277736 527.2722 87.60 7.27
Zimbabwe Africa 1967 53.99500 4995432 569.7951 76.30 7.40
Zimbabwe Africa 1972 55.63500 5861135 799.3622 71.10 7.42
Zimbabwe Africa 1977 57.67400 6642107 685.5877 69.80 7.33
Zimbabwe Africa 1982 60.36300 7636524 788.8550 61.60 6.81
Zimbabwe Africa 1987 62.35100 9216418 706.1573 50.40 5.78
Zimbabwe Africa 1992 60.37700 10704340 693.4208 54.50 4.84
Zimbabwe Africa 1997 46.80900 11404948 792.4500 62.70 4.24
Zimbabwe Africa 2002 39.98900 11926563 672.0386 62.70 4.02
Zimbabwe Africa 2007 43.48700 12311143 469.7093 59.90 3.90


Let’s find the unique years in the data.

gapminder_dataset["year"].unique()
##  [1] 1952 1957 1962 1967 1972 1977 1982 1987 1992 1997 2002 2007

Let’s now filter our gapminder dataset into the separate years.

# Filtering the data for a specific year

year_1952 = gapminder_dataset[gapminder_dataset['year'] == 1952]

year_1957 = gapminder_dataset[gapminder_dataset['year'] == 1957]

year_1962 = gapminder_dataset[gapminder_dataset['year'] == 1962]

year_1967 = gapminder_dataset[gapminder_dataset['year'] == 1967]

year_1977 = gapminder_dataset[gapminder_dataset['year'] == 1977]

year_1982 = gapminder_dataset[gapminder_dataset['year'] == 1982]

year_1987 = gapminder_dataset[gapminder_dataset['year'] == 1987]

year_1992 = gapminder_dataset[gapminder_dataset['year'] == 1992]

year_1997 = gapminder_dataset[gapminder_dataset['year'] == 1997]

year_2002 = gapminder_dataset[gapminder_dataset['year'] == 2002]

You can see above that I have repeated the same code multiple times and only change a few parts of it.This was okay for 12 years, but what if we had 100 unique years.

The general rule is that if you copy and paste code more than 3 times you should create a function.

So instead of copying and pasting the code I have created the function below to extract data for unique years.

I have also included a loop, which will iterate over the whole year column.

To use this function you need to specify the dataframe and the column names. This will save the datasets in a dictionary which we can access by specifying the year.

# We can extract any column now

def extract_values(dataframe, column):
    '''
    Document String
    
    Splits a DataFrame into multiple Dataframes based on the unique values in a column.
    Returns a Dictionary. 
    Each Key is a unique value from the column and the dictionary value 
    is the results of the filter of that value.
    
    Paramaters
    Dataframe = a Pandas Dataframe of the data you wish to split
    column = The column with unique values you wish to split. 
    
    '''
    values_dictionary = {}
    
    values_unique = dataframe[column].unique()
    
    for each_value in values_unique:
      
        values_dictionary[key] = dataframe[dataframe[column] == each_value]
        
    return values_dictionary

Let’s use the function, so below I am saving the output in a variable called values_dictionary, storing all the smaller datasets separately.

# Using the function

values_dictionary = extract_values(dataframe = gapminder_dataset, 
                                      column = "year")

To access the datasets, you only need to specify the year. As shown below, we can see we have the 1957 dataset.

# Using the function
# How you reference a dictionary note here the keys are integer

values_dictionary[1957]
country continent year lifeExp pop gdpPercap infant_mortality fertility
Afghanistan Asia 1957 30.33200 9240934 820.8530 NA NA
Albania Europe 1957 59.28000 1476505 1942.2842 NA NA
Algeria Africa 1957 45.68500 10270856 3013.9760 NA NA
Angola Africa 1957 31.99900 4561361 3827.9405 NA NA
Argentina Americas 1957 64.39900 19610538 6856.8562 NA NA
Australia Oceania 1957 70.33000 9712569 10949.6496 NA NA
Austria Europe 1957 67.48000 6965860 8842.5980 NA NA
Bahrain Asia 1957 53.83200 138655 11635.7995 NA NA
Bangladesh Asia 1957 39.34800 51365468 661.6375 NA NA
Belgium Europe 1957 69.24000 8989111 9714.9606 NA NA
Benin Africa 1957 40.35800 1925173 959.6011 NA NA
Bolivia Americas 1957 41.89000 3211738 2127.6863 NA NA
Bosnia and Herzegovina Europe 1957 58.45000 3076000 1353.9892 NA NA
Botswana Africa 1957 49.61800 474639 918.2325 NA NA
Brazil Americas 1957 53.28500 65551171 2487.3660 NA NA
Bulgaria Europe 1957 66.61000 7651254 3008.6707 NA NA
Burkina Faso Africa 1957 34.90600 4713416 617.1835 NA NA
Burundi Africa 1957 40.53300 2667518 379.5646 NA NA
Cambodia Asia 1957 41.36600 5322536 434.0383 NA NA
Cameroon Africa 1957 40.42800 5359923 1313.0481 NA NA
Canada Americas 1957 69.96000 17010154 12489.9501 NA NA
Central African Republic Africa 1957 37.46400 1392284 1190.8443 NA NA
Chad Africa 1957 39.88100 2894855 1308.4956 NA NA
Chile Americas 1957 56.07400 7048426 4315.6227 NA NA
China Asia 1957 50.54896 637408000 575.9870 NA NA
Colombia Americas 1957 55.11800 14485993 2323.8056 NA NA
Comoros Africa 1957 42.46000 170928 1211.1485 NA NA
Congo, Dem. Rep.  Africa 1957 40.65200 15577932 905.8602 NA NA
Congo, Rep.  Africa 1957 45.05300 940458 2315.0566 NA NA
Costa Rica Americas 1957 60.02600 1112300 2990.0108 NA NA
Cote d’Ivoire Africa 1957 42.46900 3300000 1500.8959 NA NA
Croatia Europe 1957 64.77000 3991242 4338.2316 NA NA
Cuba Americas 1957 62.32500 6640752 6092.1744 NA NA
Czech Republic Europe 1957 69.03000 9513758 8256.3439 NA NA
Denmark Europe 1957 71.81000 4487831 11099.6593 NA NA
Djibouti Africa 1957 37.32800 71851 2864.9691 NA NA
Dominican Republic Americas 1957 49.82800 2923186 1544.4030 NA NA
Ecuador Americas 1957 51.35600 4058385 3780.5467 NA NA
Egypt Africa 1957 44.44400 25009741 1458.9153 NA NA
El Salvador Americas 1957 48.57000 2355805 3421.5232 NA NA
Equatorial Guinea Africa 1957 35.98300 232922 426.0964 NA NA
Eritrea Africa 1957 38.04700 1542611 344.1619 NA NA
Ethiopia Africa 1957 36.66700 22815614 378.9042 NA NA
Finland Europe 1957 67.49000 4324000 7545.4154 NA NA
France Europe 1957 68.93000 44310863 8662.8349 NA NA
Gabon Africa 1957 38.99900 434904 4976.1981 NA NA
Gambia Africa 1957 32.06500 323150 520.9267 NA NA
Germany Europe 1957 69.10000 71019069 10187.8267 NA NA
Ghana Africa 1957 44.77900 6391288 1043.5615 NA NA
Greece Europe 1957 67.86000 8096218 4916.2999 NA NA
Guatemala Americas 1957 44.14200 3640876 2617.1560 NA NA
Guinea Africa 1957 34.55800 2876726 576.2670 NA NA
Guinea-Bissau Africa 1957 33.48900 601095 431.7905 NA NA
Haiti Americas 1957 40.69600 3507701 1726.8879 NA NA
Honduras Americas 1957 44.66500 1770390 2220.4877 NA NA
Hong Kong, China Asia 1957 64.75000 2736300 3629.0765 NA NA
Hungary Europe 1957 66.41000 9839000 6040.1800 NA NA
Iceland Europe 1957 73.47000 165110 9244.0014 NA NA
India Asia 1957 40.24900 409000000 590.0620 NA NA
Indonesia Asia 1957 39.91800 90124000 858.9003 NA NA
Iran Asia 1957 47.18100 19792000 3290.2576 NA NA
Iraq Asia 1957 48.43700 6248643 6229.3336 NA NA
Ireland Europe 1957 68.90000 2878220 5599.0779 NA NA
Israel Asia 1957 67.84000 1944401 5385.2785 NA NA
Italy Europe 1957 67.81000 49182000 6248.6562 NA NA
Jamaica Americas 1957 62.61000 1535090 4756.5258 NA NA
Japan Asia 1957 65.50000 91563009 4317.6944 NA NA
Jordan Asia 1957 45.66900 746559 1886.0806 NA NA
Kenya Africa 1957 44.68600 7454779 944.4383 NA NA
Korea, Dem. Rep.  Asia 1957 54.08100 9411381 1571.1347 NA NA
Korea, Rep.  Asia 1957 52.68100 22611552 1487.5935 NA NA
Kuwait Asia 1957 58.03300 212846 113523.1329 NA NA
Lebanon Asia 1957 59.48900 1647412 6089.7869 NA NA
Lesotho Africa 1957 45.04700 813338 335.9971 NA NA
Liberia Africa 1957 39.48600 975950 620.9700 NA NA
Libya Africa 1957 45.28900 1201578 3448.2844 NA NA
Madagascar Africa 1957 38.86500 5181679 1589.2027 NA NA
Malawi Africa 1957 37.20700 3221238 416.3698 NA NA
Malaysia Asia 1957 52.10200 7739235 1810.0670 NA NA
Mali Africa 1957 35.30700 4241884 490.3822 NA NA
Mauritania Africa 1957 42.33800 1076852 846.1203 NA NA
Mauritius Africa 1957 58.08900 609816 2034.0380 NA NA
Mexico Americas 1957 55.19000 35015548 4131.5466 NA NA
Mongolia Asia 1957 45.24800 882134 912.6626 NA NA
Montenegro Europe 1957 61.44800 442829 3682.2599 NA NA
Morocco Africa 1957 45.42300 11406350 1642.0023 NA NA
Mozambique Africa 1957 33.77900 7038035 495.5868 NA NA
Myanmar Asia 1957 41.90500 21731844 350.0000 NA NA
Namibia Africa 1957 45.22600 548080 2621.4481 NA NA
Nepal Asia 1957 37.68600 9682338 597.9364 NA NA
Netherlands Europe 1957 72.99000 11026383 11276.1934 NA NA
New Zealand Oceania 1957 70.26000 2229407 12247.3953 NA NA
Nicaragua Americas 1957 45.43200 1358828 3457.4159 NA NA
Niger Africa 1957 38.59800 3692184 835.5234 NA NA
Nigeria Africa 1957 37.80200 37173340 1100.5926 NA NA
Norway Europe 1957 73.44000 3491938 11653.9730 NA NA
Oman Asia 1957 40.08000 561977 2242.7466 NA NA
Pakistan Asia 1957 45.55700 46679944 747.0835 NA NA
Panama Americas 1957 59.20100 1063506 2961.8009 NA NA
Paraguay Americas 1957 63.19600 1770902 2046.1547 NA NA
Peru Americas 1957 46.26300 9146100 4245.2567 NA NA
Philippines Asia 1957 51.33400 26072194 1547.9448 NA NA
Poland Europe 1957 65.77000 28235346 4734.2530 NA NA
Portugal Europe 1957 61.51000 8817650 3774.5717 NA NA
Puerto Rico Americas 1957 68.54000 2260000 3907.1562 NA NA
Reunion Africa 1957 55.09000 308700 2769.4518 NA NA
Romania Europe 1957 64.10000 17829327 3943.3702 NA NA
Rwanda Africa 1957 41.50000 2822082 540.2894 NA NA
Sao Tome and Principe Africa 1957 48.94500 61325 860.7369 NA NA
Saudi Arabia Asia 1957 42.86800 4419650 8157.5912 NA NA
Senegal Africa 1957 39.32900 3054547 1567.6530 NA NA
Serbia Europe 1957 61.68500 7271135 4981.0909 NA NA
Sierra Leone Africa 1957 31.57000 2295678 1004.4844 NA NA
Singapore Asia 1957 63.17900 1445929 2843.1044 NA NA
Slovak Republic Europe 1957 67.45000 3844277 6093.2630 NA NA
Slovenia Europe 1957 67.85000 1533070 5862.2766 NA NA
Somalia Africa 1957 34.97700 2780415 1258.1474 NA NA
South Africa Africa 1957 47.98500 16151549 5487.1042 NA NA
Spain Europe 1957 66.66000 29841614 4564.8024 NA NA
Sri Lanka Asia 1957 61.45600 9128546 1072.5466 NA NA
Sudan Africa 1957 39.62400 9753392 1770.3371 NA NA
Swaziland Africa 1957 43.42400 326741 1244.7084 NA NA
Sweden Europe 1957 72.49000 7363802 9911.8782 NA NA
Switzerland Europe 1957 70.56000 5126000 17909.4897 NA NA
Syria Asia 1957 48.28400 4149908 2117.2349 NA NA
Taiwan Asia 1957 62.40000 10164215 1507.8613 NA NA
Tanzania Africa 1957 42.97400 9452826 698.5356 NA NA
Thailand Asia 1957 53.63000 25041917 793.5774 NA NA
Togo Africa 1957 41.20800 1357445 925.9083 NA NA
Trinidad and Tobago Americas 1957 61.80000 764900 4100.3934 NA NA
Tunisia Africa 1957 47.10000 3950849 1395.2325 NA NA
Turkey Europe 1957 48.07900 25670939 2218.7543 NA NA
Uganda Africa 1957 42.57100 6675501 774.3711 NA NA
United Kingdom Europe 1957 70.42000 51430000 11283.1779 NA NA
United States Americas 1957 69.49000 171984000 14847.1271 NA NA
Uruguay Americas 1957 67.04400 2424959 6150.7730 NA NA
Venezuela Americas 1957 57.90700 6702668 9802.4665 NA NA
Vietnam Asia 1957 42.88700 28998543 676.2854 NA NA
West Bank and Gaza Asia 1957 45.67100 1070439 1827.0677 NA NA
Yemen, Rep.  Asia 1957 33.97000 5498090 804.8305 NA NA
Zambia Africa 1957 44.07700 3016000 1311.9568 NA NA
Zimbabwe Africa 1957 50.46900 3646340 518.7643 NA NA

We can try a different year.

# Using the function
# How you reference a dictionary note here the keys are integer

values_dictionary[1987]
country continent year lifeExp pop gdpPercap infant_mortality fertility
Afghanistan Asia 1987 40.822 13867957 852.3959 NA NA
Albania Europe 1987 72.000 3075321 3738.9327 40.8 3.13
Algeria Africa 1987 65.799 23254956 5681.3585 46.3 5.51
Angola Africa 1987 39.906 7874230 2430.2083 134.1 7.20
Argentina Americas 1987 70.774 31620918 9139.6714 27.1 3.06
Australia Oceania 1987 76.320 16257249 21888.8890 8.7 1.85
Austria Europe 1987 74.940 7578903 23687.8261 9.4 1.43
Bahrain Asia 1987 70.750 454612 18524.0241 20.1 4.13
Bangladesh Asia 1987 52.819 103764241 751.9794 110.8 5.13
Belgium Europe 1987 75.350 9870200 22525.5631 9.2 1.56
Benin Africa 1987 52.337 4243788 1225.8560 114.8 6.90
Bolivia Americas 1987 57.251 6156369 2753.6915 94.0 5.03
Bosnia and Herzegovina Europe 1987 71.140 4338977 4314.1148 20.4 1.89
Botswana Africa 1987 63.622 1151184 6205.8839 42.0 5.21
Brazil Americas 1987 65.205 142938076 7807.0958 56.8 3.17
Bulgaria Europe 1987 71.340 8971958 8239.8548 18.2 1.94
Burkina Faso Africa 1987 49.557 7586551 912.0631 105.3 7.09
Burundi Africa 1987 48.211 5126023 621.8188 103.3 7.57
Cambodia Asia 1987 53.914 8371791 683.8956 86.0 6.07
Cameroon Africa 1987 54.985 10780667 2602.6642 87.2 6.63
Canada Americas 1987 76.860 26549700 26626.5150 7.5 1.58
Central African Republic Africa 1987 50.485 2840009 844.8764 115.5 5.90
Chad Africa 1987 51.051 5498955 952.3861 119.3 7.20
Chile Americas 1987 72.492 12463354 5547.0638 18.4 2.65
China Asia 1987 67.274 1084035000 1378.9040 42.0 2.68
Colombia Americas 1987 67.768 30964245 4903.2191 31.5 3.28
Comoros Africa 1987 54.926 395114 1315.9808 95.8 6.14
Congo, Dem. Rep.  Africa 1987 47.412 35481645 672.7748 122.9 6.96
Congo, Rep.  Africa 1987 57.470 2064095 4201.1949 60.9 5.59
Costa Rica Americas 1987 74.752 2799811 5629.9153 16.3 3.38
Cote d’Ivoire Africa 1987 54.655 10761098 2156.9561 105.2 6.75
Croatia Europe 1987 71.520 4484310 13822.5839 13.8 1.84
Cuba Americas 1987 74.174 10239839 7532.9248 13.3 1.83
Czech Republic Europe 1987 71.580 10311597 16310.4434 14.3 1.93
Denmark Europe 1987 74.800 5127024 25116.1758 8.0 1.50
Djibouti Africa 1987 50.040 311025 2880.1026 98.9 6.19
Dominican Republic Americas 1987 66.046 6655297 2899.8422 51.3 3.70
Ecuador Americas 1987 67.231 9545158 6481.7770 50.1 4.04
Egypt Africa 1987 59.797 52799062 3885.4607 73.5 4.83
El Salvador Americas 1987 63.154 4842194 4140.4421 53.3 4.26
Equatorial Guinea Africa 1987 45.664 341244 966.8968 135.3 5.88
Eritrea Africa 1987 46.453 2915959 521.1341 101.6 6.54
Ethiopia Africa 1987 46.684 42999530 573.7413 127.6 7.39
Finland Europe 1987 74.830 4931729 21141.0122 5.9 1.59
France Europe 1987 76.340 55630100 22066.4421 8.1 1.81
Gabon Africa 1987 60.190 880397 11864.4084 62.5 5.61
Gambia Africa 1987 49.265 848406 611.6589 86.5 6.16
Germany Europe 1987 74.847 77718298 24639.1857 8.3 1.43
Ghana Africa 1987 55.729 14168101 847.0061 89.0 5.94
Greece Europe 1987 76.670 9974490 16120.5284 13.9 1.58
Guatemala Americas 1987 60.782 7326406 4246.4860 67.7 5.76
Guinea Africa 1987 45.552 5650262 805.5725 150.0 6.64
Guinea-Bissau Africa 1987 41.245 927524 736.4154 143.1 6.73
Haiti Americas 1987 53.636 5756203 1823.0160 108.8 5.80
Honduras Americas 1987 64.492 4372203 3023.0967 51.2 5.44
Hong Kong, China Asia 1987 76.200 5584510 20038.4727 NA 1.39
Hungary Europe 1987 69.580 10612740 12986.4800 19.4 1.84
Iceland Europe 1987 77.230 244676 26923.2063 5.6 2.13
India Asia 1987 58.553 788000000 976.5127 95.6 4.13
Indonesia Asia 1987 60.137 169276000 1748.3570 69.3 3.47
Iran Asia 1987 63.040 51889696 6642.8814 51.9 5.76
Iraq Asia 1987 65.044 16543189 11643.5727 45.1 6.11
Ireland Europe 1987 74.360 3539900 13872.8665 8.4 2.23
Israel Asia 1987 75.600 4203148 17122.4799 11.0 3.06
Italy Europe 1987 76.420 56729703 19207.2348 9.4 1.35
Jamaica Americas 1987 71.770 2326606 6351.2375 27.5 3.14
Japan Asia 1987 78.670 122091325 22375.9419 5.0 1.67
Jordan Asia 1987 65.869 2820042 4448.6799 33.1 6.16
Kenya Africa 1987 59.339 21198082 1361.9369 62.7 6.60
Korea, Dem. Rep.  Asia 1987 70.647 19067554 4106.4923 NA NA
Korea, Rep.  Asia 1987 69.810 41622000 8533.0888 NA NA
Kuwait Asia 1987 74.174 1891487 28118.4300 17.6 3.31
Lebanon Asia 1987 67.926 3089353 5377.0913 30.8 3.28
Lesotho Africa 1987 57.180 1599200 773.9932 73.7 5.17
Liberia Africa 1987 46.027 2269414 506.1139 161.5 6.75
Libya Africa 1987 66.234 3799845 11770.5898 41.3 5.91
Madagascar Africa 1987 49.350 10568642 1155.4419 106.4 6.23
Malawi Africa 1987 47.457 7824747 635.5174 149.6 7.40
Malaysia Asia 1987 69.500 16331785 5249.8027 16.6 3.60
Mali Africa 1987 46.364 7634008 684.1716 137.8 7.09
Mauritania Africa 1987 56.145 1841240 1421.6036 82.1 6.10
Mauritius Africa 1987 68.740 1042663 4783.5869 24.4 2.27
Mexico Americas 1987 69.498 80122492 8688.1560 42.1 3.67
Mongolia Asia 1987 60.222 2015133 2338.0083 87.3 4.91
Montenegro Europe 1987 74.865 569473 11732.5102 18.2 1.98
Morocco Africa 1987 62.677 22987397 2755.0470 71.0 4.57
Mozambique Africa 1987 42.861 12891952 389.8762 165.7 6.35
Myanmar Asia 1987 58.339 38028578 385.0000 NA NA
Namibia Africa 1987 60.835 1278184 3693.7313 53.8 5.63
Nepal Asia 1987 52.537 17917180 775.6325 111.1 5.38
Netherlands Europe 1987 76.830 14665278 23651.3236 7.5 1.56
New Zealand Oceania 1987 74.320 3317166 19007.1913 10.6 2.24
Nicaragua Americas 1987 62.008 3344353 2955.9844 56.5 5.12
Niger Africa 1987 44.555 7332638 668.3000 141.4 7.77
Nigeria Africa 1987 46.886 81551520 1385.0296 125.4 6.63
Norway Europe 1987 75.890 4186147 31540.9748 8.2 1.75
Oman Asia 1987 67.734 1593882 18115.2231 41.8 7.93
Pakistan Asia 1987 58.245 105186881 1704.6866 111.4 6.31
Panama Americas 1987 71.523 2253639 7034.7792 28.1 3.26
Paraguay Americas 1987 67.378 3886512 3998.8757 40.7 4.84
Peru Americas 1987 64.134 20195924 6360.9434 64.6 4.14
Philippines Asia 1987 64.151 60017788 2189.6350 46.7 4.55
Poland Europe 1987 70.980 37740710 9082.3512 16.6 2.19
Portugal Europe 1987 74.060 9915289 13039.3088 14.5 1.65
Puerto Rico Americas 1987 74.630 3444468 12281.3419 NA 2.28
Reunion Africa 1987 71.913 562035 5303.3775 NA NA
Romania Europe 1987 69.530 22686371 9696.2733 32.6 2.41
Rwanda Africa 1987 44.020 6349365 847.9912 93.1 8.00
Sao Tome and Principe Africa 1987 61.728 110812 1516.5255 NA NA
Saudi Arabia Asia 1987 66.295 14619745 21198.2614 45.2 6.33
Senegal Africa 1987 55.769 7171347 1441.7207 75.5 6.93
Serbia Europe 1987 71.218 9230783 15870.8785 31.1 2.24
Sierra Leone Africa 1987 40.006 3868905 1294.4478 158.3 6.75
Singapore Asia 1987 73.560 2794552 18861.5308 7.9 1.62
Slovak Republic Europe 1987 71.080 5199318 12037.2676 17.7 2.17
Slovenia Europe 1987 72.250 1945870 18678.5349 10.8 1.63
Somalia Africa 1987 44.501 6921858 1093.2450 NA NA
South Africa Africa 1987 60.834 35933379 7825.8234 51.4 4.05
Spain Europe 1987 76.900 38880702 15764.9831 10.4 1.49
Sri Lanka Asia 1987 69.011 16495304 1876.7668 20.5 2.70
Sudan Africa 1987 51.744 24725960 1507.8192 82.8 6.34
Swaziland Africa 1987 57.678 779348 3984.8398 59.4 6.18
Sweden Europe 1987 77.190 8421403 23586.9293 6.2 1.84
Switzerland Europe 1987 77.410 6649942 30281.7046 7.1 1.55
Syria Asia 1987 66.974 11242847 3116.7743 34.3 5.96
Taiwan Asia 1987 73.400 19757799 11054.5618 NA NA
Tanzania Africa 1987 51.535 23040630 831.8221 104.2 6.38
Thailand Asia 1987 66.084 52910342 2982.6538 35.1 2.35
Togo Africa 1987 56.941 3154264 1202.2014 94.0 6.68
Trinidad and Tobago Americas 1987 69.582 1191336 7388.5978 28.4 2.83
Tunisia Africa 1987 66.894 7724976 3810.4193 49.5 4.08
Turkey Europe 1987 63.108 52881328 5089.0437 64.8 3.43
Uganda Africa 1987 51.509 15283050 617.7244 114.7 7.10
United Kingdom Europe 1987 75.007 56981620 21664.7877 9.2 1.83
United States Americas 1987 75.020 242803533 29884.3504 10.2 1.87
Uruguay Americas 1987 71.918 3045153 7452.3990 23.2 2.52
Venezuela Americas 1987 70.190 17910182 9883.5846 27.6 3.67
Vietnam Asia 1987 62.820 62826491 820.7994 40.0 3.93
West Bank and Gaza Asia 1987 67.046 1691210 5107.1974 41.1 6.54
Yemen, Rep.  Asia 1987 52.922 11219340 1971.7415 NA NA
Zambia Africa 1987 50.821 7272406 1213.3151 110.6 6.67
Zimbabwe Africa 1987 62.351 9216418 706.1573 50.4 5.78

We can use this for any dataset and any column.

Here am using the country column and selecting the data for Malawi.

# Using the function

values_dictionary = extract_values(dataframe = gapminder_dataset, column = "continent")
# Using the function
# How you reference a dictionary note here the keys are integer

values_dictionary["Asia"]
country continent year lifeExp pop gdpPercap infant_mortality fertility
Malawi Africa 1952 36.256 2917802 369.1651 NA NA
Malawi Africa 1957 37.207 3221238 416.3698 NA NA
Malawi Africa 1962 38.410 3628608 427.9011 214.6 6.98
Malawi Africa 1967 39.487 4147252 495.5148 211.5 7.18
Malawi Africa 1972 41.766 4730997 584.6220 200.6 7.39
Malawi Africa 1977 43.767 5637246 663.2237 170.6 7.58
Malawi Africa 1982 45.642 6502825 632.8039 144.4 7.61
Malawi Africa 1987 47.457 7824747 635.5174 149.6 7.40
Malawi Africa 1992 49.420 10014249 563.2000 133.1 6.72
Malawi Africa 1997 47.495 10419991 692.2758 117.1 6.41
Malawi Africa 2002 45.009 11824495 665.4231 88.8 6.12
Malawi Africa 2007 48.303 13327079 759.3499 64.5 5.84

3.4 Make it Modular

Do not have a single file that does everything. If you split your code into separate, independent modules it will be easier to read, debug, test, and use.

For example, you could break your project into the scripts shown below.

project
|-- main.py
|-- data_cleaning.py
|-- modelling.py
|-- reporting.py

Within your scripts, do not have a single function that tries to do everything.

Functions should have limits too; they should do one thing only.

# This is bad
def transform(text, uppercase):
    if uppercase:
        return text.upper()
    else:
        return text.lower()
# This is good
def uppercase(text):
    return text.upper()

def lowercase(text):
    return text.lower()

4 Project Structure

As your analysis project grows, it becomes more important to keep your project structure clean. Every project is different, and the right way to organise your project might differ from another project. However, there are some principles that are useful to consider.

A typical analytical project folder might look like:

|-- requirements.txt
|-- data/
|   -- incident_counts.csv
|-- docs/
|   -- notebook.md
|-- results/
|   -- incident_counts_by_age.csv
|   -- incidents_over_time.svg
|-- analysis/
|   -- data_cleaning.py
|   -- main_analysis.py
|   -- generate_plots.py

4.1 Raw data should be preserved

You should not alter raw data - treat it as read-only. Even data cleaning should take place on a copy of the raw data, so that you can document which cleaning decisions have been made.


4.2 Outputs should be disposable

You should be able to dispose of your outputs, deleting them, without worrying. If you are worried about deleting your outputs (i.e. results) then it is unlikely you have confidence in being able to reproduce your results.

It is good practice to delete and regenerate your outputs frequently when developing analysis.


5 Code Review

Perform code reviews: give what you’ve done to a colleague and ask them to go through it line-by-line to check it works as intended. I’ll be very suprised if they do this properly and don’t find any mistakes or issues. Return the favour to magically become a better coder yourself.

Here is an example of project in which code was formally peer reviewed.

stats19


6 Version Control

Version control is managing changes to your analysis over time.

An audit trail is essential for assuring quality analysis. It’s important for us to be able to answer the following questions about our analysis:

  • What changes have been made to our project?

  • When were those changes made?

  • Why were those changes made?

  • Who made those changes?

Version control software, like Git, records the answers to these questions throughout the development of a project.

Repositories or “repos” are typically project folders that are version controlled using Git or a similar version control system. One repository usually contains a single project. Developing your project using a version controlled repository has significant benefits for reproducibility.

In a public repository, you may need to omit confidential or sensitive aspects of the project, below is an example of a project.

Analysing UK port and shipping operations using big data


7 Summary

When writing clean code, remember to;

  • Use Descriptive Names, be consistent with your naming convention

  • Write meaningful comments

  • Don’t Repeat Yourself - use functions, loops and conditional statements

  • Be consistent with your naming convention

  • Keeping projects clean and organised

  • Arrange code reviews

  • Use version control